• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

RPC question

engineereeyore

Platinum Member
I created a program for maintaining class list using RPC. I created the necessary files, ran rpcgen, compiled everything and we're good. I'm running the server portion on a linux box but I can't seem to figure out what port it's using to connect. If I turn the firewall off, I can connect to it from a Mac machine. But with it on, I get blocked.

So, I've tried using netstat but can't seem to get any useful data out of that. Does anyone know exactly what port is uses? I set it up in the program to use UDP rather than TCP (this is just an assignment, so nothing critical).

Any ideas would be appreciated.
 
There's a list of IANA registered port numbers I got online once. Grepping that for "rpc" returns several possibilities:

111/tcp SUN Remote Procedure Call
111/udp SUN Remote Procedure Call
121/tcp Encore Expedited Remote Pro.Call
121/udp Encore Expedited Remote Pro.Call
369/tcp rpc2portmap
369/udp rpc2portmap
530/tcp rpc
530/udp rpc
567/tcp banyan-rpc
567/udp banyan-rpc
593/tcp HTTP RPC Ep Map
593/udp HTTP RPC Ep Map
602/tcp XML-RPC over BEEP
602/udp XML-RPC over BEEP
1035/tcp MX-XR RPC
1035/udp MX-XR RPC
1633/tcp PAMMRPC
1633/udp PAMMRPC
2786/tcp aic-oncrpc - Destiny MCD database
2786/udp aic-oncrpc - Destiny MCD database
3347/tcp Phoenix RPC
3347/udp Phoenix RPC
3446/tcp 3Com FAX RPC port
3446/udp 3Com FAX RPC port
3479/tcp 2Wire RPC
3479/udp 2Wire RPC
3651/tcp XRPC Registry
3651/udp XRPC Registry
3954/tcp AD Replication RPC
3954/udp AD Replication RPC
9080/tcp Groove GLRPC
9080/udp Groove GLRPC
32769/tcp Filenet RPC
32769/udp Filenet RPC
42510/tcp CA eTrust RPC
42510/udp CA eTrust RPC

My best guess is 530.
 
Back
Top