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

Re: localhost refuses logins from same machine



I'm sorry, my fault. Here is the story:
My system is behind a router. I needed to make my server visible to the
outside world, since I had to try some php program I have been writting. So
I tweaked some of the configuration (before the changes I could login the
localhost, but not from the outside, now I can from the outside WAN but not
from the same machine) as follows:


1. hostname new_name  (used to be debian)

2. edited files /etc/hostname and /etc/hosts
  /etc/hostname
  to
  chch.cuarto.domain_name.com
  (one line, just like this)

   /etc/hosts
  to
  #127.0.0.1  debian  localhost
  192.168.1.100 chch.cuarto.domain_name.com chch

  # The following lines are desirable for IPv6 capable hosts
  # (added automatically by netbase upgrade)

  ::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

3. edited /etc/apache/httpd.conf

    to

# Port: The port to which the standalone server listens. For
# ports < 1023, you will need apache to be run as root initially.
#
#Port 80
Port xxxx

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed.  This address appears on some server-generated pages, such
# as error documents.
#
ServerAdmin webmaster@chch.cuarto.domain_name.com.

And thas it. Now I can login from the outside world, but I can't from the
same computer. Please advice, since
I don't really know much about networking configuration, etc. All the
changes were made by following old posted messages, etc.

Thanks to all,
Antonio.

----- Original Message -----
From: "Colin Watson" <cjwatson@debian.org>
To: "Debian Users" <debian-user@lists.debian.org>
Sent: Sunday, April 06, 2003 12:58 PM
Subject: Re: localhost refuses logins from same machine


> On Sun, Apr 06, 2003 at 12:09:14PM -0400, Antonio Rodriguez wrote:
> > What could the reason be for this?
>
> Refuses logins in what way? What are you using to try to log in? What is
> the error message?
>
> Give us something to work with here.
>
> Cheers,
>
> --
> Colin Watson                                  [cjwatson@flatline.org.uk]
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



Reply to: