2023-07-28T01:59:49 60.271 INF WeatherManager: ApplySavedPackages
2023-07-28T01:59:49 60.320 INF Loaded player
2023-07-28T01:59:49 60.483 INF Setting for 'LootRespawnDays' does not match the default (server will go to the modded categ⏎
  ory): current = 30, default = 7
2023-07-28T01:59:49 60.632 EXC Address already in use
at System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) [0x00043] in <9a5908592ec248aabadc2c9fa04395eb>:0

at System.Net.Sockets.TcpListener.Start (System.Int32 backlog) [0x00044] in <9a5908592ec248aabadc2c9fa04395eb>:0

at System.Net.Sockets.TcpListener.Start () [0x00000] in <9a5908592ec248aabadc2c9fa04395eb>:0

at ServerInformationTcpProvider.StartServer () [0x00028] in :0

UnityEngine.StackTraceUtility:ExtractStringFromException(Object)

Log:Exception(Exception)

ServerInformationTcpProvider:StartServer()
d__146:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
2023-07-28T01:59:49 60.638 INF [EOS] Registering server
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadF

The error “Address already in use” is thrown when you’re trying to bind a network socket to an IP address/port combination that’s already bound to a different socket.

In more detail:

  1. System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) – This is the point where your application is attempting to bind a socket to a specific network endpoint, which is made up of an IP address and a port.
  2. System.Net.Sockets.TcpListener.Start (System.Int32 backlog) and System.Net.Sockets.TcpListener.Start () – These lines are attempting to start a TCP listener. This listener waits for incoming client requests and typically does this by binding a socket to a specific IP address and port.
  3. ServerInformationTcpProvider.StartServer () – This seems to be a custom method in your code (or the library you’re using) that’s attempting to start a server. It appears this is where the problem originates.

The error message “Address already in use” means that another process or application on your machine is already using the IP address/port combination that your application is trying to bind to. It could be that another instance of the same application is running or a completely different application is using that port.

To solve this issue, you could either:

  1. Change the port that your application is trying to bind to. You will need to ensure that the new port is not in use and is not a reserved port (ports below 1024 are generally reserved for well-known services and should typically not be used for other purposes).
  2. Find out which application is currently using the port and stop it. You can do this using the ‘netstat’ command (or equivalent for your operating system) to see a list of all processes and the ports they’re using. Be careful with this approach, as stopping processes can have consequences if they’re doing important work.

In either case, make sure your application correctly releases the socket when it’s done with it, especially if it crashes or is stopped abruptly. If the application doesn’t properly release the socket, it might still be bound to the IP address and port, making it appear as if the address is still in use even though the application isn’t running anymore.

Supercraft

Recent Posts

7 Days To Die Map Generators

Nitrogen NitroGen is a random world generator. It creates customizable random worlds for 7D2D. Configures…

5 months ago

Alpha Exodus: Leaving Early Access

The popular survival game "7 Days to Die" developed by The Fun Pimps, is finally…

7 months ago

7 Days Blood Moons: A new game coming soon

In the evolving landscape of video games, few genres have captivated audiences quite like survival…

8 months ago

7 Days to Die Twitch Integration

The Twitch Integration feature in "7 Days to Die" significantly enhances the interaction between streamers…

12 months ago

60 best items to loot in 7 Days to Die A21

In the harsh, unforgiving world of 7 Days to Die Alpha, savvy looting can mean…

12 months ago

7 Days to Die vs Dead by Daylight

"7 Days to Die" and "Dead by Daylight" are both popular games in the horror…

12 months ago