telnet localhost 106
Dear all,
I am testing poppassd on my freeBSD machine, my poppassd is working fine but i cant telnet to the localhost with port number 106. # telnet localhost 106 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host Please suggest. Thaank You.. |
Have you added a poppassd entry to /etc/services?
Is your distribution using inetd or xinetd? |
Indeed, this is what my /etc/services file looks like
Code:
# unfortunately the poppassd (Eudora) uses a port which has already |
Re: telnet localhost 106
Dear sir,
My /etc/services entry from my freeBSD machine is as follows. poppassd 106/tcp poppassd poppassd 106/udp poppassd #3com-tsmux 106/udp And i dont have a xinetd.d entry and made myself like /etc/xinetd.d/poppassd.c and while compiling this using: # gcc poppassd.c -o poppassd -lcrypt I receive the following errors: ------------------------------------------------------------------- poppassd.c:1: error: syntax error before "poppassd" poppassd.c:2: error: syntax error before '{' token poppassd.c:4: error: `no' undeclared here (not in a function) poppassd.c:4: error: syntax error before "socket_type" ------------------------------------------------------------------- thank you for your concerns and i expect a quick help again. My version is 6.2-RELEASE FreeBSD 6.2-RELEASE. Thank You again. |
You're not supposed to put the poppassd executable in /etc/xindetd.d, and the service config file does not need compiling.
You need to do the following:
|
It sounds like your server is blocking you because you're trying to connect as ::1 instead of 127.0.0.1. With IPv6 you need to allow poppassd to receive from your IPv6 localhost IP.
Edit /etc/xinetd.d/poppassd Change: Code:
only_from = 127.0.0.1 Code:
only_from = 127.0.0.1 ::1 |
All times are GMT -5. The time now is 09:22 AM. |