E
E
Egor2015-09-10 18:29:10
Apache HTTP Server
Egor, 2015-09-10 18:29:10

How to organize access from the Internet to your Apache server?

I have an Apache2 server installed, there is a small sh-script that issues text data on request.
Everything works fine when accessing localhost/cgi-bin/index.cgi, the page generated by the script is displayed in the browser window.
For user testing, you need to make access from the Internet. To do this, I found out my IP using yandex.ru/internet, I used the received IP for access from another computer: (myIP)/cgi-bin/index.cgi Nothing happens
when I enter this URL in the browser. Apache logs do not change.
What is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mureevms, 2015-09-10
@boudkin

The problem is that the port is not accessible from the Internet. There is one option - the computer is behind the router, to make the site accessible, you should forward port 80 to the Apache machine. It is necessary to test the performance on a white IP from the outside. Gray inside.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question