Running Servoy server behind a router

Hello,

I’m running servoy on a computer in a local network, but I want to access it from anywhere. Servoy runs on port 8081 on my computer. So I’ve add a forward rule in the router for port 8081, but didn’t work from outside of the local network. Then I’ve add other forward ports in the router: 8005, 8443 and 1099. But still don’t work.

What am I doing wrong? How can I fix this?

The router is a Linksys WRT54GL and the computer is a Mac running Mac OS X 10.6.6.

Thanks,
Bogdan.

if you have opened the http port and the rmi port then both web and smart client should be able to work
Which one do you want to have? Can you access the start html page ? (if you can do that then webclient should work and also smart clients if you enable the http tunnel)

I had the http tunnel enabled and the forward in the router as I said, but I couldn’t access anything. Though, if I change the http port from 8081 back to 8080 it works perfectly :? For short term it’s OK, but actually I need two servoy servers open for outside, one on 8080 and one on 8081.

if you do exactly the same for 8081 and 8080 then it should work fine, for tomcat/servoy there is no difference
Then i guess you have to look first if your pc where servoy runs on has port 8081 open in his firewall…

I just checked the firewall and it’s OFF. I’ll see on the other computer if I can change it there to 8081… Strange, maybe there is another setting, but if Servoy has nothing to do with this, maybe indeed there is a Mac setting somewhere.

can you access that machine (8081) from another machine but on the same network?

YES, in the same network, even using the router external IP it works.