Fix commit 567efd6 so it works with custom web server ports.
Merge pull request #218 from ericyanush/custom_port_fix

Fix commit 567efd6 so it works with custom web server ports.

Interesting... 20 days and nobody complained?
Nice find, merged.