General area when it fits no where else

Moderator: Mmiscool

User avatar
By Miloit
#62894 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?
User avatar
By Mmiscool
#62954 You must port forward both the http port and the web sockets port for this to work.
User avatar
By Miloit
#62962
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