Support custom port setting

If port is undefined, web server listens random port number.
This condition can make firewall issues.