Ports used by server

Hello,

I'm trying to set up Knime server on a cloud VM (Azure). To be able to access the server from outside the Azure environment, I need to open up TCP ports. When the server runs, I see the following ports in use by java processes:

tcp        0      0 :::3700                 :::*                    LISTEN      38186/java
tcp        0      0 :::8181                 :::*                    LISTEN      38186/java
tcp        0      0 :::41655                :::*                    LISTEN      38186/java
tcp        0      0 :::1527                 :::*                    LISTEN      37965/java
tcp        0      0 :::7676                 :::*                    LISTEN      38186/java
tcp        0      0 :::38846                :::*                    LISTEN      38186/java
tcp        0      0 127.0.0.1:60670         :::*                    LISTEN      38186/java
tcp        0      0 :::58368                :::*                    LISTEN      38186/java
tcp        0      0 :::3820                 :::*                    LISTEN      38186/java
tcp        0      0 :::8686                 :::*                    LISTEN      38186/java
tcp        0      0 :::51439                :::*                    LISTEN      38186/java
tcp        0      0 :::8080                 :::*                    LISTEN      38186/java
tcp        0      0 :::4848                 :::*                    LISTEN      38186/java
tcp        0      0 :::34576                :::*                    LISTEN      38186/java
tcp        0      0 :::3920                 :::*                    LISTEN      38186/java
tcp        0      0 :::47185                :::*                    LISTEN      38186/java

These are a LOT of ports!!

What I figured out from the documentation is:

4848 - Glassfish admin port
50100 - rmi port (according to documentation, but the port does not show up in the above list)
8080 - reporting port
1527 - server db
8181 - SSL webportal

Can someone explain me what they are all used for. and which ones I need to set up port forwarding for?

Thanks,

Tim

Hi Tim, had you had the chance to review port 3700 and the i-iop listener settings. Please let me know.

Thanks for your help.

In the Azure portal, I have added the iiop endpoint on port number 3700, using the same port number for the public as well as the private end. This was the step I did wrong: I usually take another randomly chosen public port number, but that doesn't work for the iiop endpoint. It is no problem for the glassfish admin port, though.

And of course, you must set up the server for NAT traversal, as described in the manual.

My Knime server on Azure is now up and running. I think I might run into trouble when it reboots, because that might alter the MAC address, which could cause the license check to fail. I have found some pointers in how to fix this in Azure. It requires setting up a virtual network. Once I get around to that I see if I can post it here, it might be of some use to other people.

Tim