Link to home
Start Free TrialLog in
Avatar of snickher
snickher

asked on

RPC Ports

I am having a dilema with RPC. I have 2 systems separated by a firewall. Lets say system A is outside and system B is inside. Port 111 is open from system A to B. Port 32000 is also open from system A to B. B is running a program which registers port 32000 with RPC, and it changes everytime the program restarts. System A is unable to communicate to system B once the program restarts and registeres port 32345 and the firewall needs to be reconfigured.

My question is:

How would I force my RPC program to listen on a specific port such as the NFS process? It always gets port 2049 and I'd like to have my program always get port 32000 from the portmapper.
Avatar of j2
j2
Flag of Sweden image

RPC is based on random ports >32000 not much one can do about that.
Avatar of snickher
snickher

ASKER

How does NFS do it?
ASKER CERTIFIED SOLUTION
Avatar of jammann
jammann

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Fixed the -1 problem on this question.
Escrow points corrected.

kb
Community Support Moderator
Experts Exchange