You need to tell the config file what IP to use, if it's behind a router you need to forward the port to your eggdrop.