1. When making a thread, please tag your thread accordingly using the menu to the left of the textfield where you name your thread where applicable. Server Advertisements and Mod Releases should be contained to their respective subforums.

Server Discussion [Resolved]solution for : Cannot bind socket on port 21025 BUT not the same version client > server

Discussion in 'Multiplayer' started by Wagnouf, Dec 6, 2013.

  1. Wagnouf

    Wagnouf Void-Bound Voyager

    Ok Yesterday i have launch my unbuntu server . All goes great still the new update.

    Now when i trying to launch my server i got this error

    Info: Shutting down Star::Root
    Error: Fatal Exception Caught: NetworkException: Cannot bind socket on port 21025: Transport endpoint is not connected
    ./starbound_server(_ZN4Star13StarExceptionC2ERKSs+0xe7) [0x867dd47]
    ./starbound_server() [0x86853c9]
    ./starbound_server(_ZN4Star9TcpServer6listenEt+0x1d8) [0x8683948]
    ./starbound_server(_ZN4Star14UniverseServer3runEv+0xc5) [0x81bf025]
    ./starbound_server() [0x815e394]
    /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0xa6f4b935]
    ./starbound_server() [0x8162f2d]


    PS :The port is 21025 open

    Any help ?
     
  2. Xak

    Xak Void-Bound Voyager

    Same issue, getting the files from SteamCMD, using ethernet instead of wireless... I've tried everything. I'm fairly certain this is a problem on their side.
     
  3. Wagnouf

    Wagnouf Void-Bound Voyager

    Ok i got a new fatal error with the new update

    Error: Fatal Exception Caught: NetworkException: Cannot bind socket to *:21025: Transport endpoint is not connected
    ./starbound_server(_ZN4Star13StarExceptionC2ERKSs+0xfe) [0xaad97e]
    ./starbound_server() [0xa587d1]
    ./starbound_server(_ZN4Star6Socket4bindERKNS_11HostAddressE+0x478) [0xa58178]
    ./starbound_server(_ZN4Star9TcpServerC1ENS_6StringEt+0xca) [0xa583ca]
    ./starbound_server(_ZN4Star14UniverseServer3runEv+0x149) [0x577dc9]
    ./starbound_server() [0x50eb72]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x2e3f7c52ead]
    ./starbound_server() [0x512bdd]

    ./launch_starbound_server.sh: line 5: 27064 Aborted LD_LIBRARY_PATH=${LD_LIBRARY_PA TH}:./ ./starbound_server


    since my last message my server work well butr since the last update i got this error OR probleme client/server version
     
  4. Wagnouf

    Wagnouf Void-Bound Voyager

    Not resolved .

    I continue to working on it .

    If someone got an idea he will be more than welcome ^^ .

    ok i have try this

    : uninstall - reinstall NOPE

    Open the port 21025 - close the port 21025 and reopen it NOPE

    try to launch on 32 bit on a 64 ( NO IN HOPE ) !


    all lib was up to date and i don't know what i can do !
     
  5. Wagnouf

    Wagnouf Void-Bound Voyager

    Ok i find a way to run the server .

    Edit the starbound.config file

    Change the port on "gamePort" like "21024" and launch your server .

    now i can't test if i got an user/server older version cause i can't launch my game at work ^^ if someone can test for me but i think you gonna have an error like can't connect *ip adresse * port 21025*
    server adresse 91.121.179.26
     
    Last edited: Dec 27, 2013
  6. Wagnouf

    Wagnouf Void-Bound Voyager

    and Yes i get the message about the version of client and server (client 628 > 627 server) so the server is up to date (i have update the server 5 minutes ago) and i don't know what to do . ( Yes i know i speak Alone here )
     
  7. how do you verify your server is up to date ?

    Try

    ./steamcmd.sh +login login password +force_install_dir /starbound/ +app_update 211820 validate +quit

    update login/password/dir to yours and do not forget validate
     
  8. Wagnouf

    Wagnouf Void-Bound Voyager

    already do , i know how to use steamcmd i got a Gmod server since a while.

    every time when i installing a server with cmd i do app_update *insert a number* enter And after app_update *insert a number* validate to be sure .

    i gonna uninstall yes again but i want to know why the server is not at the same version than my client.

    Maybe the cfg file ?
     
  9. strange, shouldn't have something to do with cfg, back to your first error 'Transport endpoint is not connected' on 21025, when you type netstat -nap are you sure nothing is already listening on 21025 TCP/UDP ? the server uses both
     
  10. Wagnouf

    Wagnouf Void-Bound Voyager

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:21024 0.0.0.0:* LISTEN 20295/starbound_ser
    tcp 0 0 0.0.0.0:21025 0.0.0.0:* LISTEN 24680/starbound_ser
    tcp 0 0 0.0.0.0:11111 0.0.0.0:* LISTEN 31733/starbound_ser
    tcp 0 0 91.121.179.26:27015 0.0.0.0:* LISTEN 32365/srcds_linux
    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 19959/mysqld
    tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 4276/named
    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4242/sshd
    tcp 0 0 91.121.179.26:22 183.247.177.35:19240 SYN_RECV -
    tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 4276/named
    tcp 0 272 91.121.179.26:22 62.23.74.2:7719 ESTABLISHED 30685/0
    tcp6 0 0 :::80 :::* LISTEN 2968/apache2
    tcp6 0 0 ::1:53 :::* LISTEN 4276/named
    tcp6 0 0 :::22 :::* LISTEN 4242/sshd
    tcp6 0 0 ::1:953 :::* LISTEN 4276/named
    udp 0 0 127.0.0.1:53 0.0.0.0:* 4276/named
    udp 0 0 0.0.0.0:21024 0.0.0.0:* 20295/starbound_ser
    udp 0 0 0.0.0.0:21025 0.0.0.0:* 24680/starbound_ser
    udp 0 0 0.0.0.0:26901 0.0.0.0:* 32365/srcds_linux
    udp 0 0 0.0.0.0:27005 0.0.0.0:* 32365/srcds_linux
    udp 3072 0 0.0.0.0:27015 0.0.0.0:* 32365/srcds_linux
    udp 0 0 0.0.0.0:27020 0.0.0.0:* 32365/srcds_linux
    udp 0 0 0.0.0.0:11111 0.0.0.0:* 31733/starbound_ser
    udp6 0 0 ::1:53 :::* 4276/named
    Active UNIX domain sockets (servers and established)
    Proto RefCnt Flags Type State I-Node PID/Program name Path
    unix 2 [ ACC ] STREAM LISTENING 716545 19959/mysqld /var/run/mysqld/mysqld.sock
    unix 2 [ ACC ] SEQPACKET LISTENING 7225 2329/udevd /run/udev/control
    unix 6 [ ] DGRAM 7842 4100/rsyslogd /dev/log
    unix 2 [ ACC ] STREAM LISTENING 7856 4198/acpid /var/run/acpid.socket
    unix 2 [ ACC ] STREAM LISTENING 7867 4239/dbus-daemon /var/run/dbus/system_bus_socket
    unix 3 [ ] DGRAM 5132 2329/udevd P5133
    unix 2 [ ] DGRAM 7865 4276/named P7842
    unix 3 [ ] STREAM CONNECTED 19366375 32365/srcds_linux P19366376
    unix 2 [ ] DGRAM 716540 19960/logger P7842
    unix 3 [ ] DGRAM 5133 2329/udevd P5132
    unix 2 [ ] DGRAM 27884940 30685/0 P7842
    unix 3 [ ] STREAM CONNECTED 5826 4239/dbus-daemon P5827
    unix 2 [ ] DGRAM 7853 4198/acpid P7842
    unix 3 [ ] STREAM CONNECTED 19366376 32365/srcds_linux P19366375
    unix 3 [ ] STREAM CONNECTED 5827 4239/dbus-daemon P5826
    unix 3 [ ] STREAM CONNECTED 19438353 32365/srcds_linux P19438354
    unix 3 [ ] STREAM CONNECTED 19438354 32365/srcds_linux P19438353
     
  11. huhu

    you have 3 starbound server running

    tcp 0 0 0.0.0.0:21024 0.0.0.0:* LISTEN 20295/starbound_ser
    tcp 0 0 0.0.0.0:21025 0.0.0.0:* LISTEN 24680/starbound_ser
    tcp 0 0 0.0.0.0:11111 0.0.0.0:* LISTEN 31733/starbound_ser

    udp 0 0 0.0.0.0:21024 0.0.0.0:* 20295/starbound_ser
    udp 0 0 0.0.0.0:21025 0.0.0.0:* 24680/starbound_ser
    udp 0 0 0.0.0.0:11111 0.0.0.0:* 31733/starbound_ser

    Then they can't update properly that's normal
     
  12. Wagnouf

    Wagnouf Void-Bound Voyager

    yep i saw that i have shut doxn the two other . and i update the first one

    i give you feedback about the update
     
  13. Wagnouf

    Wagnouf Void-Bound Voyager

    Ok that why the server can't update thank you for your help i totaly forgot tu remove the screen the last time and that why the server can't update and start normaly .
     

Share This Page