Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

binding static port for rpc service

807575Jan 16 2003 — edited Jan 16 2003
I want to start a RPC server in a specific TCP port.

The default behaviour is that the server chooses some arbitrary port and registers itself with the port-mapper (rpcbind). This is not good for me as I need to work throught a firewall. The first access to the port mapper (port 111) is fine. I don't need to make the client go directly to the my server.

But how to start the server in a specific port?

I read in some news group about openning the socket myself, and then using svctvp_create + svc_reg or the same with TLI, but till now I was not able to put this to work.

Any help will be appreciated.

Regards,

Oren.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2003
Added on Jan 16 2003
1 comment
143 views