Page 1 of 1

Failed to bind socket [0.4.9][Win7] (Resolved!)

PostPosted: Sat Mar 22, 2014 00:45
by BrunoMine
Already checked port! Is set to 30000
I can usually open with minetest but not with RunServer

SO: Windown 7 Professional
Minetest Version: 0.4.9-dev20140206

RunServer.bat:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
START bin\minetest.exe --server --worldname minemacro --address minemacro.servegame.com


Debug:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-------------
  Separator 
-------------

21:38:12: ACTION[main]: [MOD]craft_guide -- loaded from C:\Users\Bruno\Desktop\Minemacro\minetest-0.4.9\bin\..\mods\craft_guide
 Currency mod loading...
[Currency] Craft_items Loaded!
[Currency] Shop Loaded!
[Currency] Safe Loaded!
[Currency] Crafting Loaded!
ERROR[ConnectionSend]: Bind failed: Socket and bind address families do not match
ACTION[ServerThread]: announcing to servers.minetest.net
ACTION[main]:         .__               __                   __   
ACTION[main]:   _____ |__| ____   _____/  |_  ____   _______/  |_
ACTION[main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
ACTION[main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  | 
ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__| 
ACTION[main]:       \/        \/     \/          \/     \/       
ACTION[main]: World at [C:\Users\Bruno\Desktop\Minemacro\minetest-0.4.9\bin\..\worlds\minemacro]
ACTION[main]: Server for gameid="minetest" listening on fe80:0:0:0:5961:8851:cc8:5d40:30000.
ERROR[main]: ERROR: An unhandled exception occurred: Failed to bind socket (port already in use?)

PostPosted: Sat Mar 22, 2014 11:21
by Jordach
brunob.santos wrote:Already checked port! Is set to 30000
I can usually open with minetest but not with RunServer

RunServer.bat
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
START bin\minetest.exe --server --worldname minemacro --address minemacro.servegame.com


Debug
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-------------
  Separator 
-------------

21:38:12: ACTION[main]: [MOD]craft_guide -- loaded from C:\Users\Bruno\Desktop\Minemacro\minetest-0.4.9\bin\..\mods\craft_guide
 Currency mod loading...
[Currency] Craft_items Loaded!
[Currency] Shop Loaded!
[Currency] Safe Loaded!
[Currency] Crafting Loaded!
ERROR[ConnectionSend]: Bind failed: Socket and bind address families do not match
ACTION[ServerThread]: announcing to servers.minetest.net
ACTION[main]:         .__               __                   __   
ACTION[main]:   _____ |__| ____   _____/  |_  ____   _______/  |_
ACTION[main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
ACTION[main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  | 
ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__| 
ACTION[main]:       \/        \/     \/          \/     \/       
ACTION[main]: World at [C:\Users\Bruno\Desktop\Minemacro\minetest-0.4.9\bin\..\worlds\minemacro]
ACTION[main]: Server for gameid="minetest" listening on fe80:0:0:0:5961:8851:cc8:5d40:30000.
ERROR[main]: ERROR: An unhandled exception occurred: Failed to bind socket (port already in use?)
Is there another ./minetestserver running in memory?

PostPosted: Sat Mar 22, 2014 11:51
by BrunoMine
Jordach wrote:Is there another ./minetestserver running in memory?

No. I restarted the computer but continued with error

PostPosted: Sat Mar 22, 2014 14:24
by markveidemanis
I had this error, it helps if you forward multiple ports so you can use another if this happens, to fix it you need to restart your router (idk why) or choose a different port, I recommend the latter because the router should reconnect automatically when it's not being used.
EDIT: 200th post

PostPosted: Sat Mar 22, 2014 15:08
by BrunoMine
markveidemanis wrote:I had this error, it helps if you forward multiple ports so you can use another if this happens, to fix it you need to restart your router (idk why) or choose a different port, I recommend the latter because the router should reconnect automatically when it's not being used.
EDIT: 200th post


I rebooted router and computer but it did not work. I tried 10 different ports and it did not work

Debug:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ACTION[main]: World at [C:\Users\Bruno\Desktop\Minemacro\minetest-0.4.9\bin\..\worlds\minemacro]
ACTION[main]: Server for gameid="minetest" listening on fe80:0:0:0:5961:8851:cc8:5d40:30003.
ERROR[main]: ERROR: An unhandled exception occurred: Failed to bind socket (port already in use?)

ACTION[main]: World at [C:\Users\Bruno\Desktop\Minemacro\minetest-0.4.9\bin\..\worlds\minemacro]
ACTION[main]: Server for gameid="minetest" listening on fe80:0:0:0:5961:8851:cc8:5d40:30004.
ERROR[main]: ERROR: An unhandled exception occurred: Failed to bind socket (port already in use?)

ACTION[main]: World at [C:\Users\Bruno\Desktop\Minemacro\minetest-0.4.9\bin\..\worlds\minemacro]
ACTION[main]: Server for gameid="minetest" listening on fe80:0:0:0:5961:8851:cc8:5d40:30008.
ERROR[main]: ERROR: An unhandled exception occurred: Failed to bind socket (port already in use?)

ACTION[main]: World at [C:\Users\Bruno\Desktop\Minemacro\minetest-0.4.9\bin\..\worlds\minemacro]
ACTION[main]: Server for gameid="minetest" listening on fe80:0:0:0:5961:8851:cc8:5d40:30010.
ERROR[main]: ERROR: An unhandled exception occurred: Failed to bind socket (port already in use?)


PostPosted: Sat Mar 22, 2014 15:11
by hoodedice
Switch to the latest Minetest build by sfan5. The previous one had this error.

PostPosted: Sat Mar 22, 2014 15:14
by BrunoMine
hoodedice wrote:Switch to the latest Minetest build by sfan5. The previous one had this error.

link please!

PostPosted: Sat Mar 22, 2014 16:07
by hoodedice

PostPosted: Sat Mar 22, 2014 16:13
by BrunoMine


Thank you! Everyone (and sfan5 too). Problem solved!