'How to implement ASP MVC NetCore 3.1 Websocket on Linux CentOS 7?
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/
Require all granted
</Location>
if I can't use the same port, then how to use another listener port for websocket?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
