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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -