Score:0

Unable to establish RPC between an on-premise windows server to an Azure VM (Windows)

th flag
Joe

I am facing an issue where I am trying to establish RPC between an on-premise windows server to an azure VM (Windows) by executing the following cmd in the terminal from the source (on-premise windows server):

rpcinfo -p <Azure VM's IP address>

I worked with my network engineer to see if any RPC calls are being blocked by firewall but there is no blocking from the source to the destination. UDP and TCP Port 111 has already been opened. TCP Port 135 is not opened. However my vendor say it is not necessary for RPC.

The terminal is showing this error: rpcinfo: can't contact portmapper: rpcinfo: RPC: Unable to receive; error = 10054

How can I fix the error shown above and establish RPC? PS: I am just a software engineer and not very familiar with this.

Joe avatar
th flag
Joe
We are using a COTS product to send data from to the Azure VM using RPC. I checked with the vendor and they said that their own Port Mapper works in the same way as RPC Endpoint Mapper so we open tcp/111 as per advised and didn't opentcp/135 and tcp/49152 through tcp/65535 in the firewall. What does the error mean? Will try packet capture method you recommended.
cn flag
@Joe: If your product uses tcp/135, and then a dynamically assigned high port, your product uses RPC. Your product does not use RPC. As stated, a simple packet capture on both ends will confirm this. It only takes a few minutes.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.