Skip Menu |

This queue is for tickets about the Net-IRC CPAN distribution.

Report information
The Basics
Id: 325
Status: rejected
Priority: 0/
Queue: Net-IRC

People
Owner: Nobody in particular
Requestors: jeek [...] jeek.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.73
Fixed in: (no value)



Subject: /etc/hosts name resolving bug
Russ, Scott wrote: Hello, I'm having problems with this module. The irctest script doesn't run. Everytime I try to connect I get: Creating connection to IRC server... Can't connect to irc.prison.net:6667! at /usr/local/share/perl/5.6.1/Net/IRC.pm line 192 irctest: Can't connect to IRC server. When using my own script I have tried just using a server and accepting the other defaults. I stil get the Can't connect to servername:6667! message. I have no idea why it isn't working. I tried joining the #net-irc channel on EFnet but no one was there. Can you help me out? ................................................. He later wrote: I found a cause for the strange connection failures. I'm not sure about the fix or really the explaination but here it goes. in /etc/hosts my machine name was on the same line as localhost. So when Net::IRC get the hostname it binds to 127.0.0.1, and when it tried to make an outgoing connection it fails. As soon an I moved my machine name to its own line with its IP address the problem was fixed. -Scott
This module is long dead