Wss connection issue

Hello @Teodor , @patrick
I’m testing a nodejs app on a plesk server. But I am getting websocket connection error. What could be the reason for this?

Console log:

When you publish a nodejs application with plesk, you need to turn off proxy mode in Apache & nginx settings. Because Nginx sends proxy requests to Apache and connection cannot be established with nodejs.

Strep 1 :
image
Strep 2 :
image