This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Eggdrop won't connect to any servers

General support and discussion of Eggdrop bots.
Post Reply
h
hendr1x
Voice
Posts: 2
Joined: Mon Mar 24, 2014 3:36 pm
Location: United States

Eggdrop won't connect to any servers

Post by hendr1x »

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: Select all

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: Select all

[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
h
hendr1x
Voice
Posts: 2
Joined: Mon Mar 24, 2014 3:36 pm
Location: United States

Post by hendr1x »

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

Code: Select all

# 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
}
A
AndyP
Voice
Posts: 2
Joined: Thu Apr 10, 2014 11:55 am

Same here

Post by AndyP »

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?)
A
AndyP
Voice
Posts: 2
Joined: Thu Apr 10, 2014 11:55 am

Solved via support by the hoster

Post by AndyP »

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. :P

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)
Post Reply