Mapping websocket port to non-websocket port

Mapping websocket server port to a non-websocket server port of a service, some how it is like a websocket gateway for a non-websocket services