Fix incorrect port of standard Python server

/ht @zpao
Merge pull request #241 from gasi/master

Fix incorrect port of standard Python server