> I wonder if anyone can straighten me out here on telnet ports. > > What I have done is to amend /etc/services file to show that my telnet port is > 24. And I changed port 23 for use by another service. Of course I amended > the approriate files in /etc/xinetd.d as well.
Modifying /etc/services modifies all of the named representations of the services. This includes both the client and the server. I _believe_ the C library is in charge of this translation. Do an strace on telnet and see if it looks up /etc/services. Jonathan Bartlett > > Now, when I telnet out to other services - around the world I am getting > 'connection refused'. It appears that I am asking to telnet into port 24 of > these other services around the world?? Does this make any sense? To > try and prove this, I tried telnetting to these very stations that gave me > the 'connection refused - port 24', but using 'port 23' added to the end of > my request, and things worked. But without attaching port '23', my request > was refused.. > > I thought that by changing my /etc/services file and related ones in > /etc/xinetd.d that all I was effecting was incoming telnet requests? It > appears that this is not the case? Is this correct? Does this in fact > effect your outgoing requests?? > -- > Ted Gervais > Coldbrook, Nova Scotia Canada. > 1-902-679-2253 > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list