« Return to Thread: localhost==127.0.0.1?

Re: localhost==127.0.0.1?

by manish kumar-3 :: Rate this Message:

Reply to Author | View in Thread

your host should have
127.0.0.1 localhost
entry.

On Fri, Jul 3, 2009 at 2:25 PM, Kartik Nayak <kartik1507@...> wrote:

>
>
> Hi Varun,
>
> My hosts file contains this:
>
> 127.0.1.1 localhost
> 127.0.1.1 tiger
>
> # The following lines are desirable for IPv6 capable hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
> 66.163.181.184 scs.msg.yahoo.com
>
> I tried commenting "::1 ip6-localhost ip6-loopback", but it did not
> work. Also, i run Drupal using a different server, and it works properly
> when i say http://localhost/Drupal
>
> Regards,
> Kartik Nayak
>
>
> On Fri, Jul 3, 2009 at 2:11 PM, Varun Jain <varunjain003@...<varunjain003%40gmail.com>>
> wrote:
>
> > Hello Karthik,
> >
> > You can check the hosts file inside etc directory.There may be two
> entries
> > for the localhost
> > 127.0.0.1 and 127.0.0.1::1.You an try commenting the latter one.It is
> > possible that IPv6 is turned on and it is resolving localhost to the ::1
> > address .Since the port 3000 is currently active hence the connection
> can't
> > be established message might be appearing.
> >
> > Cheers,
> > Varun :)
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > http://twincling.org/
> > http://twitter.com/twincling
> > ----------------------------------------
> > Yahoo! Groups Links
> >
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
>  
>


[Non-text portions of this message have been removed]

 « Return to Thread: localhost==127.0.0.1?