LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-14-2006, 07:21 PM   #1
shams
Member
 
Registered: Jan 2004
Posts: 535

Rep: Reputation: 30
Exclamation cannot connect to the local web server in localhost?


hi,
i installed the mandriva 2007, can connect to the outside net, but cannot connect to the local web server (localhost) this is the ping result:
# ping 127.0.0.1
connect: Network is unreachable
this is the firefox error opening http://127.0.0.1/:
Unable to connect
Firefox can't establish a connection to the server at 127.0.0.1

this is the ifconfig resutl:
# /sbin/ifconfig
ppp0 Link encap:Point-to-Point Protocol
inet addr:203.103.194.46 P-t-P:202.163.90.18 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:430 errors:0 dropped:0 overruns:0 frame:0
TX packets:494 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:391014 (381.8 KiB) TX bytes:104344 (101.8 KiB

and these are the /var/www/html permissions:
drwxr-xr-x 8 root root 4096 Nov 14 18:39 .
drwxr-xr-x 28 root root 4096 Nov 14 06:35 ..
drwxr-xr-x 2 root root 4096 Nov 14 18:39 cgi-bin
drwxr-xr-x 3 root root 4096 Nov 12 04:41 error
drwxr-xr-x 28 root root 4096 Nov 12 14:43 html
drwxr-xr-x 3 root root 4096 Nov 13 09:43 icons
drwx------ 2 root root 4096 Nov 14 08:30 lost+found
drwxr-xr-x 14 root root 4096 Nov 14 18:39 manual
 
Old 11-15-2006, 01:06 AM   #2
venki
Member
 
Registered: Sep 2006
Location: India
Distribution: suse10.2
Posts: 128

Rep: Reputation: 15
Hi do one thing,

start network again.

/etc/init.d/network restart
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
Unable to connect properly to local web server from Gentoo Gethyn Linux - Networking 3 09-25-2006 04:04 PM
Why I can't acess the web server from localhost? rui Fedora 4 05-31-2006 07:02 AM
Localhost web server setup? DoctorWynn SUSE / openSUSE 3 02-05-2006 01:40 PM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration