Domanda

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

È stato utile?

Soluzione

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).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top