1 (edited by Apmox 2011-06-15 14:36:36)

Topic: [SERVER] "Couldn't open socket" crash error

Hi guys, today I've tried to open a non-vanilla server, and I got the error shown above. Well I thought it was mod-related and maybe because my router was shutdown. I tried later with the vanilla one and Internet connection available but i got the error again yikes:

[4df8a49d][engine]: running on windows-win32-ia32
[4df8a49d][engine]: arch is little endian
...
[4df8a49d][server]: starting...
[4df8a49d][datafile]: loading. filename='maps/dm1.map'
[4df8a49d][datafile]: allocsize=2560
[4df8a49d][datafile]: readsize=2396
[4df8a49d][datafile]: swaplen=2416
[4df8a49d][datafile]: item_size=2012
[4df8a49d][datafile]: loading done. datafile='maps/dm1.map'
[4df8a49d][server]: maps/dm1.map crc is f2159e6e
[4df8a49d][net]: failed to bind socket with domain 2 and type 2 (17 'File exists')
[4df8a49d][net]: failed to bind socket with domain 23 and type 2 (17 'File exists')
[4df8a49d][server]: couldn't open socket. port might already be in use

I really don't know what to do and I need to test some maps for the server. I checked iif any other client uses this port but doesn't work. :S I hope you have the right solution. sad
Thank you,

- Apmox

» Albert Einsteein: I have no special talent. I am only passionately curious.

2

Re: [SERVER] "Couldn't open socket" crash error

You need to use another port, you probably have already set up another server on this port.

Not Luck, Just Magic.

3

Re: [SERVER] "Couldn't open socket" crash error

I didn't set up another server. Hmm I don't know, I'll try to reboot my PC and see if something changes..

» Albert Einsteein: I have no special talent. I am only passionately curious.

4

Re: [SERVER] "Couldn't open socket" crash error

I solved the problem: I checked in the Activity Monitor if there were any softwares up/downloading. The uTorrent client I opened generated a random port to get the connection from other client and it was 8303, ofcourse I changed the port and the server works now. yikes Thanks for your help Dunedune. smile (Moderators can close the topic or even delete it)

- Apmox

» Albert Einsteein: I have no special talent. I am only passionately curious.