Why this question came? Because if I setup a web server with supporting websocket on any port than 80, websocket connection works fine. However if I set the server on port 80, websocket connection gets dropped, but http works fine. Any ideas why?
But if the port is 8000, the first request to switch protocol comes through and websocket works fine.
Code:
/192.168.50.121:80 - - [04/Jul/2023:19:10:51 -0700] "GET /webfolder/terminal/var%2Flog%2Ftjws HTTP/1.1" 101 0 - -
/192.168.50.121:80 - - [04/Jul/2023:19:10:53 -0700] "GET /webfolder/terminal/var%2Flog%2Ftjws HTTP/1.1" 101 0 - -
/192.168.50.121:80 - - [04/Jul/2023:19:10:54 -0700] "GET /webfolder/terminal/var%2Flog%2Ftjws HTTP/1.1" 101 0 - -
/192.168.50.121:80 - - [04/Jul/2023:19:10:56 -0700] "GET /webfolder/terminal/var%2Flog%2Ftjws HTTP/1.1" 101 0 - -
/192.168.50.121:80 - - [04/Jul/2023:19:10:58 -0700] "GET /webfolder/terminal/var%2Flog%2Ftjws HTTP/1.1" 101 0 - -
/192.168.50.121:80 - - [04/Jul/2023:19:10:59 -0700] "GET /webfolder/terminal/var%2Flog%2Ftjws HTTP/1.1" 101 0 - -
/192.168.50.121:80 - - [04/Jul/2023:19:11:01 -0700] "GET /webfolder/terminal/var%2Flog%2Ftjws HTTP/1.1" 101 0 - -