python - PC name display for SimpleHTTPServer -
when run python -m simplehttpserver <port>
on office network, can full pc name displayed in log output.
serving http on 0.0.0.0 port 59992 ... <pc name> - - [04/feb/2014 04:59:30] "get / http/1.1" 200 -
but when run same in home network or locally host it, logs display ip address accessed service.
serving http on 0.0.0.0 port 59992 ... <my ip> - - [04/feb/2014 04:59:30] "get / http/1.1" 200 -
is there way make home network same?
Comments
Post a Comment