WebSocket can get messages with localhost, but not with IP address

Hi guys,

So I’m trying to connect to my server using websockets. I am able to successfully connect to my server with UE.

There is the situation…when I use a connection with localhost (ws://localhost:3000), I able to connect and get messages back from my server. But when I connect to my real server (with ws://23.129.123.11:3000), I can connect fine, but I can’t get back any messages from the server…Is there some security feature that I need to disable on the UE side to accept connections from these type of urls? I tried adding this to the DefaultEngine.ini file:

[LwsWebSocket]
bDisableCertValidation=true

But no luck…what is the issue here?