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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <conil@xxxxxx> 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@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx
> 
> 


__________________________________________________
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux