How to implement ASP MVC NetCore 3.1 Websocket on Linux CentOS 7?
Below is my httpd.conf, it works properly with the web app that's why I commented for the "/ws", but if I uncomment the "/ws" then I can't access the web, if I comment on the web then I can access the websocket, what did I miss here?
<Location /prime/ptx/v1/>
ProxyPass http://localhost:5002/ptx/v1/
ProxyPassReverse http://localhost:5002/ptx/v1/
#ProxyPass ws://localhost:5002/ptx/v1/ws/
#ProxyPassReverse ws://localhost:5002/ptx/v1/ws/
If I can't use the same port, then how to change websocket listener port?
Require all granted
</Location>