package: python2.5
version: 2.5.4-3
severity: normal

hi, when running a webserver with python's BaseHTTPServer in unstable,
it is not possible to connect using the localhost alias.  however, this
works correctly in lenny, so it is a regression.

to reproduce, run the first example, 'Responding with an HTML Page',
described at [0]. make sure to change HOST_NAME to localhost and
PORT_NUMBER to 8000 first, then try connecting through a web browser
to url 'http://localhost:8000'. this will not work.  try connecting
to url 'http://localhost.localdomain:8000'.  this will work.

here is the relevant line from /etc/hosts on unstable:

  127.0.0.1       localhost.localdomain   localhost

which i tried changing to:

  127.0.0.1       localhost

to match lenny's /etc/hosts, but that didn't make a difference.  i
also installed apache (to determine whether this is a general issue
with my configuration or not), and connecting to 'http://localhost'
works just fine.  so this is indeed a BaseHTTPServer-specific issue. i
also get the same behavior with python 2.4.  thank you for any info
you can provide.

best wishes,
mike

[0] http://wiki.python.org/moin/BaseHttpServer



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to