Fixed issue with setting server port number