EspScopeA0 icon indicating copy to clipboard operation
EspScopeA0 copied to clipboard

On-Line Fast Websocket transfer

Open williamesp2015 opened this issue 7 years ago • 4 comments

Hi, I am wondering if possible to test on a free host, using websocket and display data on a web.

williamesp2015 avatar Sep 14 '16 16:09 williamesp2015

Hi @williamesp2015,

What for would you use the free host?

Version Delta of this application has a web server and an ESP loaded with it is the host already. If you expose it to internet, then you will be able to display data on a web.

krzychb avatar Sep 14 '16 17:09 krzychb

Hi @krzychb,

Thank you very much. When we upload the data directory to a web, require to change IP and then connect to ESP with same internet access, but from other locations can not access to that ESP. Do you have a solution for this problem? Thank you

williamesp2015 avatar Sep 15 '16 15:09 williamesp2015

@williamesp2015,

I am not sure if I understand what you mean by "data directory to a web".

If you expose ESP to internet, it will have specific IP address (or even a domain name like http://esp-scope.org :smile:). This IP address (or domain mame) should be then entered here

krzychb avatar Sep 15 '16 17:09 krzychb

Hi @krzychb, If I change ws://192.168.1.159:81 to ws://http://mydomainname.org:81 or ws://www.mydomainname.org:81 or use original index.html (hostName.value = "ws://" + location.host + ":81";) can not connect to the ESP because web server connects to ESP IP and in this case no one can access to EspScopeA0 from different location using Internet.

williamesp2015 avatar Sep 15 '16 18:09 williamesp2015