also @ TechSpot: AMD Radeon HD 7770 & Radeon HD 7750 Review
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

Cannot connect to localhost

Thread Tools Search this Thread
  #1  
Old 01-25-2008
TechSpot Member
 
Member since: Jul 2007, 64 posts
Cannot connect to localhost

Hello, I recently change my ip from dhcp to static but I just noticed that when I try http://localhost:901 or http://localhost:631 I get a "cannot connet to localhost" error. This used to work for me so I think I messed up by mistake a loopback setting or a service not running??? has anyone had this problem before?

thanks
  #2  
Old 01-25-2008
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
I assume you are running some sort of a Linux here..

First, check your /etc/hosts file and see what it says about localhost. You should have an entry saying that 127.0.0.1 is the same as localhost.
Second, run "netstat -tlnp" to get a list of processes listening for network connections. You should have cupsd listening on 0.0.0.0/0:631 for example.
  #3  
Old 01-25-2008
jobeard's Avatar
TechSpot Ambassador
 
Location: Southern Calif.
Member since: Apr 2005, 10,832 posts
Actually http://localhost/ works on Windows too, assuming the service is
properly configured to listen on *:80, or in your case *:901

Verify your config for the service
eg:
Listen 0.0.0.0:80
Listen 0.0.0.0:901

Last edited by jobeard; 02-18-2008 at 09:46 PM..
Closed Thread

Similar Topics
Topic Replies Forum
Not displaying localhost 1 Windows OS
Could not able to connect to my localhost 1 Storage and Networking
Lost internet (via IE) / localhost access / ftp ability 21 Storage and Networking
Lost internet (via IE) / localhost access / ftp ability 40 Virus and Malware Removal
IIS/localhost problems 0 Storage and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 03:09 AM.