Page 1 of 1

irc server on Raspberry Pi for intranet only

Posted: Fri May 12, 2017 7:48 am
by milkyway
Hey guys,

I'm trying to set up an irc server on a Raspberry Pi for our company intranet.
I installed UnrealIRCd as written in the docs on the Raspberry Pi, the Pi has a static IP.

I'm not sure about my conf file.
I've set up the ip to be on localhost (127.0.0.1) with the following (relevant) settings:

Code: Select all

me {
    name "127.0.0.1"
};

listen {
    ip 127.0.0.1;
    port 6667;
};
However, I can't connect to the server via Hexchat.
Trying to connect to this server...
<ip-of-my-pi>/6667

... I'm getting this error:
Looking up <ip-of-my-pi>
Unknown host. Maybe you misspelled it?


What am I doing wrong?

Re: irc server on Raspberry Pi for intranet only

Posted: Sat May 13, 2017 4:36 am
by rcschaff
127.0.0.1 only allows loopback connections. You would want to use your 192. 10. or 172. private address to listen to. your me { name } should be the HOSTNAME of your rasperpi.

Re: irc server on Raspberry Pi for intranet only

Posted: Tue Aug 01, 2017 7:58 pm
by mattzote
rcschaff wrote:
Sat May 13, 2017 4:36 am
127.0.0.1 only allows loopback connections. You would want to use your 192. 10. or 172. private address to listen to. your me { name } should be the HOSTNAME of your rasperpi.
Wow thanks. Was almost about to start a thread on this for my Pi3. I changed the parameters for listen to that of my local intranet.