Again, there is a page dedicated to RPC in the On-Line Documentation I pointed you to in another forum thread, reading it carefully should give you some insight...https://manual.pvxplus.com/PXPLUS/Remote%20Process%20Capability/Introduction.htm
xxx.xxx.xxx.xxx in "xxx.xxx.xxx.xxx;80" obviously needs to be replaced by the IP address of the server where the RPC host program is running and listening
80 in "xxx.xxx.xxx.xxx;80" is the TCP/IP port on which the RPC host program on the remote server is supposed to listen -- chances are that you'll have another program with this port already in use (maybe IIS on Windows, maybe Apache on Linux), so you'll have to use another port.
To sum it up:
- First, have the *RPSRVR program running on a remote computer on your network and listening on an available IP port (e.g. 15000)
- On another server, use the PROCESS SERVER statement to establish a connection between your "Inventory" logical name and the physical IP & Port of the RPC server, as in "[tcp]192.168.1.11;15000" (again this is an example, the IP address must be the one of the computer where *RPSRVR is running)
- To call a program on the remote server, do a CALL "[rpc:Inventory]RPCTest"
Hope that helps