I have a spring boot application with websocket setup via sockJs.
public void registerStompEndpoints(StompEndpointRegistry stompEndpointRegistry) {
stompEndpointRegistry.addEndpoint("/gs-guide-websocket").setAllowedOrigins("*")
.withSockJS();
}
I am deploying it in openshift which has a restriction to use port 8000 for websocket. Is it possible to configure spring to use port 8000 for ws:// and keep http:// to port 80?