What about your httpd.conf ... 
How do you have your LISTEN directive formated...???
   http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen

We had a case that was the opposite from yours...
...we could access one of our sites via an IP address, but not via 
"localhost"...
...the problem was the admin used:
             LISTEN  aa.bb.cc.dd:80
instead of   LISTEN  80

It could be that your httpd.conf could be defined:
                LISTEN 127.0.0.1:80
Which is for "localhost" ONLY...

-tony

-----Original Message-----
From: suresh.mak...@accenture.com [mailto:suresh.mak...@accenture.com] 
Sent: Tuesday, January 27, 2009 10:24 AM
To: users@httpd.apache.org
Subject: RE: [us...@httpd] localhost vs ip address in url on windows 2003.

Yes Evan, it is behind NAT gateway, but Iam on the server itself and trying it 
out with IP address, yes the port 80 and 443 both are open, when I do a telnet 
test with IP address, both the ports work. Somehow it takes localhost but not 
the server IP in the url.
     Suresh.


-----Original Message-----
From: Evan Platt [mailto:e...@espphotography.com]
Sent: Tuesday, January 27, 2009 12:08 PM
To: users@httpd.apache.org
Subject: Re: [us...@httpd] localhost vs ip address in url on windows 2003.

Is your machine behind a NAT gateway? If so, is port 80 correctly forwarded 
from your public IP address to the private IP address you're likely on?

At 10:02 AM 1/27/2009, you wrote:
>Hello All,
>    I have implemented apache web server 2.2 with SSL and local
security
>policy using htpasswd. Everything looks fine, and when I use 
>https://localhost it works, but when I use IP address of the machine 
>like https://12.13.14.10 it fails, any idea how to resolve this. I have 
>added in system etc host file, the line "12.13.14.10 Localhost", and 
>also in listen line of httpd-ssl.conf file I added "12.13.14.10:443", 
>but no avail. Any help on this is greatly appreciated. Iam using
windows
>2003 server.
>       Suresh.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org




This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to