You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by zhou jian <su...@yahoo.com> on 2006/02/22 23:47:06 UTC

[users@httpd] A problem with http://localhost/

Hello Apache fellows:

I encountered a problem when I was installing a perl
module. The httpd server related module was hanging
overnight when it was trying to test
http://localhost:XXXXX...

Today, I tested with my httpd server installation.
I found that I can view the webpage after I started
httpd server through the actually ip address. I have
configured my ip address under /etc/hosts.

However, I couldn't view the webpage through 
http://127.0.0.0/ or http://localhost/

It looks bizzare to me, if I can't view it through
http://localhost, then I couldn't install the httpd
related perlmodules because they require the testing.


Thanks for your help!

--Paul

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] A problem with http://localhost/

Posted by zhou jian <su...@yahoo.com>.
Actually I can visit httpd website with
http://myipaddress/index.html. I just couldn't visit
with http://localhost or http://1270.0.0.1 even I have
etc/hosts configurated right.



For trying to solve this issue,
I added 

Listen 127.0.0.1:80 and tried to restart httpd.

[root@osg-tg2 bin]# ./httpd -k start
(99)Cannot assign requested address: make_sock: could
not bind to address 127.0.0.1:80
no listening sockets available, shutting down
Unable to open logs

It showed the error above and I couldn't start httpd.

Do you have any idea? I found even I commented Listen
80 in the previous part of httpd.conf. I still got the
same error.

--- François Conil <co...@ece.fr> wrote:

> zhou jian a écrit :
> > Hello Apache fellows:
> > 
> > I encountered a problem when I was installing a
> perl
> > module. The httpd server related module was
> hanging
> > overnight when it was trying to test
> > http://localhost:XXXXX...
> > 
> > Today, I tested with my httpd server installation.
> > I found that I can view the webpage after I
> started
> > httpd server through the actually ip address. I
> have
> > configured my ip address under /etc/hosts.
> > 
> > However, I couldn't view the webpage through 
> > http://127.0.0.0/ or http://localhost/
> > 
> > It looks bizzare to me, if I can't view it through
> > http://localhost, then I couldn't install the
> httpd
> > related perlmodules because they require the
> testing.
> 
> Does the lo network device is up and running ?
> Do you have configured apache to listen on every ip
> address, or only its 
> own "external" ip address?
> 
> 
> -- 
> François Conil
> Administrateur Systèmes et Réseaux
> <Pax> I wish my lawn was emo, so it would cut
> itself.
> 
> 
>
---------------------------------------------------------------------
> 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-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] A problem with http://localhost/

Posted by François Conil <co...@ece.fr>.
zhou jian a écrit :
> Hello Apache fellows:
> 
> I encountered a problem when I was installing a perl
> module. The httpd server related module was hanging
> overnight when it was trying to test
> http://localhost:XXXXX...
> 
> Today, I tested with my httpd server installation.
> I found that I can view the webpage after I started
> httpd server through the actually ip address. I have
> configured my ip address under /etc/hosts.
> 
> However, I couldn't view the webpage through 
> http://127.0.0.0/ or http://localhost/
> 
> It looks bizzare to me, if I can't view it through
> http://localhost, then I couldn't install the httpd
> related perlmodules because they require the testing.

Does the lo network device is up and running ?
Do you have configured apache to listen on every ip address, or only its 
own "external" ip address?


-- 
François Conil
Administrateur Systèmes et Réseaux
<Pax> I wish my lawn was emo, so it would cut itself.


---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org