Public Apache2 Server
-
07-10-2020 - |
Question
I wonder how to make my apache2 server public? I mean, I have a static ip and someone who knew that ip can access my website from out-world. I already install apache2. I test it from http://localhost, I mean its working.
My OS is ubuntu by the way.
Thanks
La solution
Verify that your Apache configuration has it listening for connections on all IPs, or at least the externally-visible IP address: http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen
You can verify this by using the command netstat -anp | grep apache
(maybe :80
would be easier than apache
).
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow