-->
Page 1 of 1

The program don't run via internet

PostPosted: Wed Feb 22, 2017 11:56 am
by Miloit
I have realized this simple code:

Code: Select allbutton "On",[on]
button "Off",[off]
wait
 
[on]
io(po,2,0)
wait

[off]
io(po,2,1)
wait


In local network everything run. Outside, with port forwarding (port 80), nothing happens.
I press the button but the program dont't run. Why?

Re: The program don't run via internet

PostPosted: Fri Feb 24, 2017 12:26 am
by Mmiscool
You must port forward both the http port and the web sockets port for this to work.

Re: The program don't run via internet

PostPosted: Fri Feb 24, 2017 5:03 am
by Miloit
Mmiscool wrote:You must port forward both the http port and the web sockets port for this to work.

Thanks for the quick answer, HTTP port is 80 but the web sockets port ? I'm confused :D

Re: The program don't run via internet

PostPosted: Fri Feb 24, 2017 5:15 am
by Miloit
Mmiscool wrote:You must port forward both the http port and the web sockets port for this to work.

thanks for the quick answer, port forwarding 80 and 81 , ok.