LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cannot assign requested address, problem, (https://www.linuxquestions.org/questions/linux-networking-3/cannot-assign-requested-address-problem-788074/)

shred_eng 02-09-2010 02:52 PM

Cannot assign requested address, problem,
 
hi,

i'm running a game server and have a problem when i put the ip address into the start up command. i can start it ok using the local ip address, 192.168.1.69, for example, but this doesnt seem to put the game on the master server list so i tried to use the ip address assigned to the router, which is port forwarded to my server but i get the error:

Opening IP socket 86.x.x.x:27960 ERROR: UDP OpenSocket: bind: Cannot asign requested address

do i have to do something with iptables or /etc/network/interfaces?

the only other thing i can think of is DMZ and i dont really want to do that, the relevent ports are open in the router and with iptables

maybe i have to put a rule in iptables to allow the ip address too?

thanks,

smoker 03-02-2010 07:30 AM

Where are you connecting from when you test this ? You can't use the external address from inside your network.
Assuming port 27960 is forwarded through your router and through your firewall, it should work from outside. And the game server must be running (of course).

shred_eng 03-03-2010 10:47 AM

thanks for reply smoker, but i've sorted it out now. in fact it was the router not functioning properly, i replaced it and now everything works as it should.


All times are GMT -5. The time now is 01:50 AM.