The online racing simulator
Server: TCP socket: bind failed error
(13 posts, started )
#1 - F90
Server: TCP socket: bind failed error
Español:
Intento abrir el server dedicarted y me sale el error al abrir el server:
TCP socket: bind failed error

Tengo el firewall desactivado
Antivirus desactivado
Puertos del router: 63392 TCP y UDP

que podria pasar?

English:

I try to open the dedicate server and I get the error opening the server:
TCP socket: bind failed error

I have the firewall disabled
antivirus disabled
Router port: 63392 TCP and UDP

What could happen?

thanks
TCP socket: bind failed error

Means that the port is in use. Check for another application, or even invisible LFS Dedi on that port.
Right click and run as administrator maybe.

The magic of Windows.
#4 - F90
Quote from Squelch :TCP socket: bind failed error

Means that the port is in use. Check for another application, or even invisible LFS Dedi on that port.

as they dedicated invisible?


Quote from cargame.nl :Right click and run as administrator maybe.

The magic of Windows.

already tested and does not work
Quote from F90 :as they dedicated invisible?

It will be if

/dedicated=invisible

is used when LFS Dedi starts. It means there will be no window to see. If this is the case, it is very easy to start LFS again and find TCP Socket : bind failed although it should also say another instance of LFS is running too.

I think you may have something else using that port. Try changing the port number if possible, or use a tool to display ports in use.

Sysinternals is a very good suite of programs and utilities created for and by MS.
To check if another program or service is already using that port. Get Sysinternals suite or just TCPView and run it. It will should all ports that are in use.
#6 - F90
// Example host configuration file
// How to use: LFS /cfg=setup.cfg
// Lines starting with // are ignored

// host name
/host=^76afondo^1.co.cc ^3spain

// optional: password
/pass=

// optional: admin password
/admin=********

// optional: InSim port
/insim=29999

// optional: local specified ip address
/ip=auto

// a high number below 65536
/port=63392

// demo/s1/s2
/mode=s2

// no/yes/hidden
/usemaster=yes

// BL1/BL1R/BL2, SO1/SO1R/SO2, etc
/track=WE1

// weather
/weather=1

// cars allowed - see README.txt
/cars=ALL

// max guests that can join host
/maxguests=32

// slots reserved for admins (0 to 8)
/adminslots=0

// max cars in a race
/carsmax=16

// max cars (real+ai) on host pc
/carshost=1

// max cars (real+ai) per guest pc
/carsguest=1

// smoothness (3-6) number of car updates per second
/pps=4

// qualifying minutes, 0 for no qualifying
/qual=0

// number of laps, 0 for practice
/laps=5

// if laps not specified: hours
//hours=24

// 0=no/1=low/2=high
/wind=1

// nogfx/invisible
/dedicated=nogfx

// no/yes: can guests vote to kick or ban
/vote=yes

// no/yes: can guests select track
/select=yes

// no/kick/ban/spec: wrong way drivers
/autokick=spec

// no restart within X seconds of race start
/rstmin=60

// no restart within X seconds of race finish
/rstend=30

// no/yes: allow join during race
/midrace=yes

// no/yes: pit stop required
/mustpit=no

// no/yes: allow car reset
/canreset=no

// no/yes: force cockpit view
/fcv=no

// no/yes: allow wrong way driving
/cruise=no

// fixed/finish/reverse/random: race start order
/start=finish

// optional: welcome message up to 200 chars
/welcome=welcome.txt

// optional: text file listing allowed tracks
//tracks=tracks.txt

// optional: message log file
//log=deb.log

// no/yes: network debug
/ndebug=no

// MPR autosave (0=off / 1=manual / 2=auto)
/autosave=2

// MPR folder
/mprdir=mpr

// LYT folder
/lytdir=layout




as shown in the picture there is nothing using port 63392
The only other things to try are:
  1. Different port number
  2. Double check Firewall isn't on and blocking
  3. AV scan for a hidden trojan on that port
  4. Event log to see if an app has crashed and left that port assigned.
On the last point, it is possible that an application that has used that port did not exit cleanly and left a child process open. Windows tries to clean up after exited programs, but cannot if there is another part of that app, or something else that it spawned still running.

The very last step is to try a reboot to see if it clears.
#8 - F90
and restart the computer.

Probe this dedicated on another computer in the house and it worked, the problem has to be in this computer

you and I will comment how it goes

thanks
#9 - F90
I just checked with port 45626 and it works!
Good to see you have found a workaround,
He said the port numbers you give?
Running a server
Quote from F90 :I just checked with port 45626 and it works!

Maybe this can help to ;

Go to Start > Search ; CMD and Open it
Typ ; ipconfig
You see standard gateway
You fill in that ip in your internet browser,
it will ask username and password ; admin [username] admin [password]
Go to advance settings > Port forwarding
Fill your ip in [Not your portforwarding ip !!]
You see what typ ; Press TCP
Port > Use you're favorite port
Then press ; Add

Ready ! Now you can do run a server without errors !!

More Questions ? Ask me bro !

Server: TCP socket: bind failed error
(13 posts, started )
FGED GREDG RDFGDR GSFDG