portmap only listening on 127.0.0.1

rellik spam at schless.com
Thu Jan 27 03:01:32 UTC 2005


I am trying to set up NFs and an having a problem with portmap.  after
starting it I can connect to it with 'telnet 127.0.0.1 111' but I get a
"connection refused" when I 'telnet <my_local_IP> 111'.

/etc/default/portmap:
I have tried various things in this file: "-i 127.0.0.1" (ubuntu
default), "-i 0.0.0.0", and "".  Note that 'man portmap' lists only 2
flags (debug and verbose), but I played around with "-i" because that
was in the file at install so I figured it might just be undocumented.
Also note that I've read /usr/share/doc/portmap/* and there is no
mention of this "-i" flag...

'netstat -plunt' gives (portmap is only listening on loopback):
tcp        0      0 127.0.0.1:111           0.0.0.0:*
LISTEN     11526/portmap
udp        0      0 127.0.0.1:111           0.0.0.0:*
11526/portmap

I just installed ubuntu the other day, so I'm using the most up-to-date
version, basically out of the box.  If anyone has any help or advice I'd
love to hear it.

Patrick Schless





More information about the ubuntu-users mailing list