changing webserver code to display port