egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eggdrop won't connect to any servers

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
hendr1x
Voice


Joined: 24 Mar 2014
Posts: 2
Location: United States

PostPosted: Mon Mar 24, 2014 3:43 pm    Post subject: Eggdrop won't connect to any servers Reply with quote

I'm sorry if this is a stupid question...I did spend the last hour reading / trying different settings and I couldn't find anything to help me. My concern is that this is something to do with my dedicated server (Centos 6.5) but as far as I can tell all ports are open/there shouldn't be any problems.

Anyway...every time I run eggdrop I can't connect to any servers...I just want to add a bot to a freenode channel...any help would be greatly appreciated it.

[
Code:
15:41:21] === awesome-o: 0 channels, 0 users.
[15:41:21] main: entering loop
[15:41:22] Trying server morgan.freenode.net:6667
[15:41:22] DNS resolved morgan.freenode.net to 64.32.24.176
[15:42:25] net: connect! sock 6
[15:42:25] Connected to morgan.freenode.net
[15:42:25] net: eof!(read) socket 6
[15:42:25] Disconnected from morgan.freenode.net
[15:42:26] Trying server card.freenode.net:6667
[15:42:26] DNS resolved card.freenode.net to 38.229.70.20


I tried all the available ports.....for example...

Code:
[15:32:52] === awesome-o: 0 channels, 0 users.
[15:32:52] main: entering loop
[15:32:53] Trying server morgan.freenode.net:8001
[15:32:53] DNS resolved morgan.freenode.net to 64.32.24.176
[15:33:56] net: connect! sock 6
[15:33:56] Connected to morgan.freenode.net
[15:33:56] net: eof!(read) socket 6
[15:33:56] Disconnected from morgan.freenode.net
[15:33:57] Trying server card.freenode.net:8001
[15:33:57] DNS resolved card.freenode.net to 38.229.70.20
[15:35:00] net: connect! sock 6
[15:35:00] Connected to card.freenode.net
[15:35:00] net: eof!(read) socket 6
[15:35:00] Disconnected from card.freenode.net
[15:35:01] Trying server morgan.freenode.net:8001
[15:35:01] DNS resolved morgan.freenode.net to 64.32.24.176
Back to top
View user's profile Send private message AIM Address
hendr1x
Voice


Joined: 24 Mar 2014
Posts: 2
Location: United States

PostPosted: Mon Mar 24, 2014 3:50 pm    Post subject: Reply with quote

If it helps at all here are some of the conf settings


Code:
# What is your network?
#   0 = EFnet
#   1 = IRCnet
#   2 = Undernet
#   3 = DALnet
#   4 = +e/+I/max-modes 20 Hybrid
#   5 = Others
set net-type 1
# I tried 5 as well


# This is a Tcl script to be run immediately after connecting to a server.
bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
  global botnick
  putquick "MODE $botnick +i-ws"
}

# Set the default port which should be used if none is specified with
# '.jump' or in 'set servers'.
set default-port 6667

# This is the bot's server list. The bot will start at the first server listed,
# and cycle through them whenever it gets disconnected. You need to change these
# servers to YOUR network's servers.
#
# The format is:
#   server[:port[:password]]
#
# Both the port and password fields are optional; however, if you want to set a
# password you must also set a port. If a port isn't specified it will default to
# your default-port setting.
set servers {
morgan.freenode.net
card.freenode.net
}
Back to top
View user's profile Send private message AIM Address
AndyP
Voice


Joined: 10 Apr 2014
Posts: 2

PostPosted: Thu Apr 10, 2014 12:01 pm    Post subject: Same here Reply with quote

Got a similar problem, and not finding any solution.

(CentOS, Server4you eggdrop 1.8 and 1.6.21)

My host (server4you) seems to have a real agressive firewall, disabling the firewall for the vserver lets the bot connect to any server freely.

With active, it just times out on ANY Server I try.

(I have forwarded port 113, this should be the only one used for connecting to a server at all?)
Back to top
View user's profile Send private message
AndyP
Voice


Joined: 10 Apr 2014
Posts: 2

PostPosted: Fri Apr 11, 2014 8:03 am    Post subject: Solved via support by the hoster Reply with quote

Unfortunately, "outgoing traffic permitted" is limited to target ports 1-1024 by default.

Maybe some firewall specific Thing, but didnt know 'all outgoing' is limited to lower 1024 ports. Razz

Got to specify an additional rule to allow
Type: "tcp"
Local port: "*"
Local IP: "*"
Remote port: "6667"
Remote IP: "*"

to enable this function.

Now all is fine.

- Andy

(My host: Server4you.de - vserver)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber