Occasionally you want to test a server/firewall to ensure that an application is listening on a particular TCP port. If the application is installed and you cannot connect from an external IP then most likely it is the firewall. Occasionally you want to test for the entire flow without installing the application. The following steps will help you achieve that:
c:\python27\python.exe webserver.py
Now connect to http://localhost:port/a.esp to test this from the local machine from a web browser. Once this works, connect to the corresponding URL from an external machine. Edit the webserver.py file and change the PORT = 8080 line to your desired port. Control-C the current running instance of webserver and launch it again to enable listening on the updated port.