Jonas
Jonas

Reputation: 157

Initiate websocket from server behind router

I have a local webserver behind a router and can't portforward any port on the router.

Is it possible to start a connection from a browser outside the local network to the server behind the router? Maybe it's possible with a cloud-server to initiate the connection between the two?

enter image description here

Upvotes: 0

Views: 696

Answers (1)

vtortola
vtortola

Reputation: 35965

No. WebSockets use TCP and then you would need to map a port from "Router" to "Local server" in order to allow connectivity.

However, you can take a look at WebRTC data channels.

Cheers.

Upvotes: 3

Related Questions