Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In some cases, connection fails when 'localhost' is used #44

Open
andy5995 opened this issue Aug 11, 2022 · 5 comments
Open

In some cases, connection fails when 'localhost' is used #44

andy5995 opened this issue Aug 11, 2022 · 5 comments
Milestone

Comments

@andy5995
Copy link
Member

On Wed, 10 Aug 2022 08:14:26 -0700
Andy Alt @.***> wrote:

I haven't been able to reproduce that yet on my Manjaro system or Slack docker container.

My results when using the container (I enabled telnetd from /etc/inetd.conf and started rc.inetd):

sh-5.1# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

I have found that "atd"127.0.0.1" succeeds but "atd"localhost" fails.

@aianson Could you try the attached file?
modemu2k-0.1.0.tar.gz

Yes, this works for me. I built modemu2k from that slackbuild and installed it. It is working for me with minicom.

I'm not sure why atd"localhost doesn't work for me but it is unimportant, I'll just use 127.0.0.1 when needed.

Thank you for your work on this. :)

Originally posted by @aianson in #39 (comment)

@andy5995
Copy link
Member Author

@aianson are you able to connect to other hosts by name?

Is 'localhost' mapped in /etc/hosts?

@aianson
Copy link
Collaborator

aianson commented Aug 11, 2022 via email

@andy5995 andy5995 added this to the 0.1.1 milestone Aug 18, 2022
@andy5995
Copy link
Member Author

Hi @aianson

So you can't connect by using "localhost" but you CAN connect to external telnet servers by using their hostnames?

@aianson
Copy link
Collaborator

aianson commented Aug 19, 2022 via email

@andy5995
Copy link
Member Author

Strange, strange, strange

I'll review the network code and see if I can get lucky fixing that issue which I'm unable to reproduce.

Thanks for your participation in the project @aianson

@andy5995 andy5995 mentioned this issue Aug 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants