0perator Posted June 29, 2008 Share Posted June 29, 2008 right.. this is nothing to do with php but i dont know any other place with such a wealth of knowledge as here. i set up an irc server on my ubuntu machine.. i can do /server localhost and it works fine but when i try and do /server uberbeef.org it says * Looking up uberbeef.org * Connecting to uberbeef.org (86.150.246.184) port 6667... * Connection failed. Error: Connection refused * Disconnected (). please help Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/ Share on other sites More sharing options...
trq Posted June 29, 2008 Share Posted June 29, 2008 Is uberbeef.org your domain? if so, is it listed in your /etc/hosts file? eg; 127.0.0.1 uberbeef.org Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/#findComment-577334 Share on other sites More sharing options...
Daniel0 Posted June 29, 2008 Share Posted June 29, 2008 Make sure it is listening not only to local connections. Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/#findComment-577338 Share on other sites More sharing options...
0perator Posted June 29, 2008 Author Share Posted June 29, 2008 uberbeef is in the hosts file how do i make it look for external connections? thanks. Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/#findComment-577339 Share on other sites More sharing options...
0perator Posted June 29, 2008 Author Share Posted June 29, 2008 oh jeeez ubebreef WASNT in the hosts file just the subdomains sorry guys! EDIT: hang on, now it says this *** Looking up your hostname... * *** Checking Ident * *** No Ident response * *** Your forward and reverse DNS do not match, ignoring hostname. * *** Spoofing your IP. congrats. * *** You are exempt from K/D/G lines. congrats. * *** You are exempt from user limits. congrats. * Welcome to the uberbeef Internet Relay Chat Network Operator * Your host is ubebreef[127.0.0.1/6667], running version hybrid-7.2.2.dfsg.2-debian.3 * This server was created Apr 30 2007 at 17:39:23 * ubebreef hybrid-7.2.2.dfsg.2-debian.3 DGabcdfgiklnorsuwxyz biklmnopstveIh bkloveIh * CALLERID CASEMAPPING=rfc1459 DEAF=D KICKLEN=160 MODES=4 NICKLEN=15 PREFIX=(ohv)@%+ STATUSMSG=@%+ TOPICLEN=350 NETWORK=uberbeef MAXLIST=beI:25 MAXTARGETS=4 CHANTYPES=#& :are supported by this server * CHANLIMIT=#&:15 CHANNELLEN=50 EXCEPTS=e INVEX=I CHANMODES=eIb,k,l,imnpst AWAYLEN=160 KNOCK ELIST=CMNTU SAFELIST :are supported by this server * There are 0 users and 1 invisible on 1 servers * I have 1 clients and 0 servers * Current local users: 1 Max: 1 * Current global users: 1 Max: 1 Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/#findComment-577343 Share on other sites More sharing options...
tomfmason Posted June 29, 2008 Share Posted June 29, 2008 When I ping uberbeef.org I do not get any responses. This may prevent external clients from connecting but I am not sure. ping uberbeef.org PING uberbeef.org (86.150.246.184) 56(84) bytes of data. --- uberbeef.org ping statistics --- 76 packets transmitted, 0 received, 100% packet loss, time 75607ms Also, I would check out jabber if I were you. IMO, it is 100x better than irc and few hosts block those ports compared to an irc server. I like ejabberd and have been using it for almost a year now without any problems at all. Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/#findComment-577348 Share on other sites More sharing options...
tomfmason Posted June 29, 2008 Share Posted June 29, 2008 how do i make it look for external connections? in your ircd.conf do something like listen { ip="your external ip or domain name"; port=6667; }; The reason for the lack of response from pings could be that you may not be allowing ICMP ping requests. You can fix this by doing something like iptables -A INPUT -p icmp -j ACCEPT or ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 Assuming you are using iptables. Also, this needs to come before any rule like this: REJECT all -- 0.0.0.0/0 0.0.0.0/0 Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/#findComment-577361 Share on other sites More sharing options...
Daniel0 Posted June 29, 2008 Share Posted June 29, 2008 @tomfmason & 0perator: The different IRCds have different ways of configuring it. You may have to consult the documentation instead. Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/#findComment-577372 Share on other sites More sharing options...
0perator Posted June 29, 2008 Author Share Posted June 29, 2008 this is what it says now listen { /* port: the specific port to listen on. if no host is specified * before, it will listen on all available IPs. * * ports are seperated via a comma, a range may be specified using ".." */ /* port: listen on all available IPs, ports 6665 to 6669 */ host = "uberbeef.org"; # change this! port = 6667; }; still getting connection refused... Quote Link to comment https://forums.phpfreaks.com/topic/112451-irc/#findComment-577398 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.