Changes websocket port handling
Changes websocket port handling
Fixed websocket issue