Forwarding Webserver with websockets
Hello,
i need to forward my Webserver with websocket connection on my router.
Im using a Fritzbox 7590 AX.
If i forward port 80 from example ESP_AsyncFSBrowser.ino where websockets is defined with "/ws", the websocket connection is not being etablished.
The webpage is shown, but webserver data is not transfered via websockets.
This message is shown in debug window of the browser.
Any idea how to fix it? Is it maybe library related? I need a fix for this problem.
Thanks in advance.
Please do not discuss about how to expose it otherwise, because this fritzbox is just a sub-router inside my network (At work) and is not exposed to the internet.
Socket = new WebSocket('ws://' + document.location.host + '/ws'
Try it.
Socket = new WebSocket('ws://' + document.location.host + '/ws'Try it.
You're my hero. Its working. Thank you!!