Page 1 of 1

What Ports do IT need to open for Servoy Client access

PostPosted: Thu Jun 02, 2005 3:30 pm
by grahamg
Some advice/pointers please.

Testing a hosted solution that will be accessed from a number of NHS Hospitals but seem to be encountering problems with the Hospital firewall.

Java WebStart and initial Servoy Client load fine but User keeps getting the message "Cannot find repository ... may not be running on Server".

Solution access is fine from other locations and we suspecting that Hospital firewall is blocking ports - but what Ports??

Johan Compagner posted following in http://www.forum.servoy.com/viewtopic.php?t=3044:

1> the client and the server are talking to each other over RMI
client talks to the server over the rmi port specified in the admin page. (mostly 1099)
The server talks to the client over a anomym port. Will be choosen by startup of a client. (poort beginning at 2000 and then for every client one port higher)


This appears to indicate that a whole range of Ports over 2000 need to be left open just in case Servoy Cient needs them - not an easy sell to Hospital IT departments. Could someone detail what information I will need to give to the respective IT departments so that they can allow Users to connect with Servoy?

Thanks in advance

Graham Greensall
Worxinfo Ltd

PostPosted: Thu Jun 02, 2005 3:36 pm
by Harjo
if you use RMI port 1099, than just only open that port!

(you can check this in your admin-pages, which port you use!)

PostPosted: Thu Jun 02, 2005 3:44 pm
by grahamg
Thanks for quick response Harjo but we've already got past that stage. Port 1099 opened and presume that is enabling the WebStart and Servoy Client load.

But reading Johan's post it seems that Servoy Server then opens another port "...The server talks to the client over a anomym port. Will be choosen by startup of a client. (poort beginning at 2000 and then for every client one port higher)..."

We have tried deep-linking direct to the solution and just going to .../8080/ but same error message "Cannot find Repository ...."

Regards

Graham Greensall
Worxinfo Ltd

PostPosted: Thu Jun 02, 2005 4:35 pm
by Harry Catharell
Hi Graham,

This is not our old friend: 'conflicting Java versions' again is it ?

Done any recent updates to your server machine(s) which may have got an updated or two versions in situ ?

This is my only idea at this 'long dark teatime of the soul' moment !! :-)

Cheers
Harry

PostPosted: Thu Jun 02, 2005 4:53 pm
by grahamg
Hi Harry

Should not be as I've updated Servoy to rc8 and understood that the Java problem was sorted several rev's ago. For info Server computer still on 1.4.2 which seems to be safest.

Sorry to interupt your afternoon tea :)

Graham

PostPosted: Sat Jun 04, 2005 10:36 am
by jcompagner
if you have 2 way socket enabled in the admin pages then all traffic will go through 1099 (or what every you give the rmi port)

PostPosted: Mon Jun 06, 2005 10:52 am
by grahamg
Yes setup is default from a fresh install

java.rmi.server.hostname: 127.0.0.1
servoy.rmiStartPort: 1099
SocketFactory.useTwoWaySocket: ticked
SocketFactory.useSSL: ticked


Other clients are able to connect so assume it's down to the Hospital setup. If all traffic is through 1099 will work with them to ensure this enabled.

Regards

Graham Greensall
Worxinfo Ltd

PostPosted: Mon Jun 06, 2005 2:01 pm
by jcompagner
if other clients can connect then it seems that it is a client specific error. Then the clients firewall is blocking it somehow. Please disabled all those things on the client once to see what program is responseable

PostPosted: Tue Jun 07, 2005 5:32 pm
by grahamg
IT dept opened up 1099 and client now connected :)

Thanks for your help.

Graham Greensall
Worxinfo Ltd