Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th February 2011, 15:42
markopolo markopolo is offline
Junior Member
 
Join Date: Feb 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default network accesibility problem LOCALHOST

Hi there I have a problem accessing the server as LOCALHOST I can access it by ip or 127.0.0.1 or also by hostname other then localhost.
Did some reserch but don't know what to do anymore.
Reply With Quote
Sponsored Links
  #2  
Old 15th February 2011, 17:43
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 240
Thanks: 2
Thanked 22 Times in 22 Posts
Default

Quote:
Originally Posted by markopolo View Post
Hi there I have a problem accessing the server as LOCALHOST I can access it by ip or 127.0.0.1 or also by hostname other then localhost.
Did some reserch but don't know what to do anymore.
Post the contents of /etc/hosts
__________________
I'm a very happy linode.com customer, I'm sure you will be too!
Reply With Quote
  #3  
Old 15th February 2011, 18:26
markopolo markopolo is offline
Junior Member
 
Join Date: Feb 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default the hosts file content

127.0.0.1 localhost
127.0.1.1 sm-s.si

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Reply With Quote
  #4  
Old 16th February 2011, 16:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

From where do you want to access it as localhost? From a remote machine?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 16th February 2011, 20:45
markopolo markopolo is offline
Junior Member
 
Join Date: Feb 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default acces from

from server localy otherwise is localhost the machine you are curently loged in to
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
Mandriva 2008.1 Spring squealing miodragz Installation/Configuration 6 17th May 2008 23:41
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
get thousands of "Mailsize" mails from own server torusturtle Installation/Configuration 20 24th December 2006 14:51
External Email Getting Lost jash General 10 8th November 2005 21:55


All times are GMT +2. The time now is 20:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.