I am trying to run a simple RPC program which I have created using rpcgen.
Its a simple factorial program. This is my first RPC program.
The make works fine.Executables are also created.
But when trying to run the executables, I get this error:
Cannot register service: RPC: Unable to receive; errno = Connection refused
unable to register (FACTPROGRAM, FACTVERSION, udp).
First you check that portmapper is working or not, use
rpcinfo to check it.
If you get any error then install