Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On-Line Fast Websocket transfer #3

Open
williamesp2015 opened this issue Sep 14, 2016 · 4 comments
Open

On-Line Fast Websocket transfer #3

williamesp2015 opened this issue Sep 14, 2016 · 4 comments

Comments

@williamesp2015
Copy link

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

@krzychb
Copy link
Owner

krzychb commented Sep 14, 2016

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.

@williamesp2015
Copy link
Author

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

@krzychb
Copy link
Owner

krzychb commented Sep 15, 2016

@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 😄). This IP address (or domain mame) should be then entered here

@williamesp2015
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants