LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   rpcinfo and portmapper (http://www.linuxquestions.org/questions/linux-security-4/rpcinfo-and-portmapper-575583/)

dimah 08-08-2007 05:26 AM

rpcinfo and portmapper
 
Hello, i've a problem with portmap.
I have a server and a local machine.
When i try #rpcinfo -p localhost on the server, everything is ok,
but if i try #rpcinfo -p server command on the local machine,
the system says me:
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused.
iptables onthe server is open:
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

What should i do with this???:scratch:

bakfupai 08-09-2007 04:44 AM

Seems that portmap isn't listening on the interface whose IP resolves to server. If you run a debian or something similar, you can do:
dpkg-reconfigure portmap

And you can configure it there to listen on all interfaces. Otherwise, check your distro documentation.

[EDIT]I forgot to mention, you should do this on the server.[/EDIT]

dimah 08-10-2007 04:14 AM

Thank you, everything is ok now, because of you.


All times are GMT -5. The time now is 12:15 PM.