Search code examples
javaspring-bootstompsockjs

What port use stomp protocol?


Spring Boot app is hosted on default port server.port=8080 and when I connect to the server, JS client's code calls the same port new SockJS('http://localhost:8080/api/streams'); but port use after connection established for WebSocket?

I suppose data exchange for websocket\stomp work on a different port. But wheat is number?


Solution

  • By default there are acceptor elements configured to accept STOMP connections on ports 61616 and 61613.

    https://activemq.apache.org/components/artemis/documentation/latest/stomp.html