Can't access site from the web with IP
Posted by: phil18 (46.19.81.---)
Date: December 23, 2012 06:30PM

Hello,

I'm running the latest version of wampserver with apache 2.4.2 and php 5.4.3. on Windows 2008.

I'm running two ip's, one for iis and one for apache. I did that by adding

Listen 123.456.78.999:80
Listen 80

in httpd.conf. I also switched 'require local' to 'require all granted' in the <directory/> of both

'ServerName localhost:80' and 'DocumentRoot "c:/wamp/www/"'.

When entering the ip in the local browser, I get access. But when I enter it from the web/external browser, the browser cant find the server and just times out.

Is there anything else I should be doing to put y wamp online?

Thanks in advance!



Edited 1 time(s). Last edit at 12/23/2012 06:33PM by phil18.

Options: ReplyQuote
Re: Can't access site from the web with IP
Posted by: stevenmartin99 (Moderator)
Date: December 23, 2012 09:08PM

this is totally wrong

Listen 123.456.78.999:80
Listen 80

just put it back to

Listen 80

Change the first require all granted back to require local in the <dictorary /> unless you want your pc to be hacked


you probably missed the most obvious step , did you open port 80 in the router and check that your ISP allows you to run a webserver?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 12/23/2012 09:09PM by stevenmartin99.

Options: ReplyQuote
Re: Can't access site from the web with IP
Posted by: phil18 (46.19.81.---)
Date: December 23, 2012 09:21PM

Annnd the culprit was....Windows firewall. I thought that wouldn't be the case because apache and iis were both using the same port (80), but it turns out that there is an iis-only rule allowing traffic coming in on port 80! So I added a new inbound rule opening port 80, and voila, now everything works!

Options: ReplyQuote
Re: Can't access site from the web with IP
Posted by: phil18 (46.19.81.---)
Date: December 24, 2012 12:10AM

Just saw your reply now Steven. I did revert back to local, thanks!

Options: ReplyQuote


Sorry, only registered users may post in this forum.