#29 NewThreadedAppServer & http address

closed-fixed
nobody
WebKit (58)
5
2003-08-24
2002-12-17
Peter Kropf
No

In WebKit/NewThreadedAppServer.py if it's going to
start an http server, it always uses 127.0.0.1 as the
address. This causes grief when attempting to connect
to the server from systems on the network, especially if
there is more than 1 nic. Changing the '127.0.0.1' to
server.address()[0] will bind to the address that's used
for the AppServer.

In addition, it would be good to add configuration
information to AppServer.config to specify which
address and port are to be used.

BTW if you add me as a developer to the project, I'll be
glad to fix the code. Or I can send in a patch...

Discussion

  • Ian Bicking
    Ian Bicking
    2003-08-24

    • status: open --> closed
     
  • Ian Bicking
    Ian Bicking
    2003-08-24

    • status: closed --> closed-fixed