Jump to content

System.Net.Sockets.SocketException (98): Address already in use


Recommended Posts

Posted

I see this from time to time in the logging. What does it mean?

2018-12-12 21:26:14.428 Error Dlna: Error in BeginListeningForBroadcasts
    *** Error Report ***
    Version: 3.5.3.0
    Command line: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/EmbyServer.dll -programdata /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata -ffmpeg /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA -updatepackage emby-server-qnap_{version}_x86_64.qpkg -noautorunwebapp
    Operating system: Unix 4.2.8.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 4
    Program data path: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata
    Application directory: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system
    System.Net.Sockets.SocketException (98): Address already in use
     at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
     at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
     at System.Net.Sockets.Socket.Bind(EndPoint localEP)
     at Emby.Server.Implementations.Net.UdpSocket..ctor(Socket socket, Int32 localPort, IPAddress ip)
     at Emby.Server.Implementations.Net.SocketFactory.CreateUdpMulticastSocket(String ipAddress, Int32 multicastTimeToLive, Int32 localPort)
     at Rssdp.Infrastructure.SsdpCommunicationsServer.ListenForBroadcastsAsync()
     at Rssdp.Infrastructure.SsdpCommunicationsServer.BeginListeningForBroadcasts()
    System.Net.Sockets.SocketException
     at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
     at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
     at System.Net.Sockets.Socket.Bind(EndPoint localEP)
     at Emby.Server.Implementations.Net.UdpSocket..ctor(Socket socket, Int32 localPort, IPAddress ip)
     at Emby.Server.Implementations.Net.SocketFactory.CreateUdpMulticastSocket(String ipAddress, Int32 multicastTimeToLive, Int32 localPort)
     at Rssdp.Infrastructure.SsdpCommunicationsServer.ListenForBroadcastsAsync()
     at Rssdp.Infrastructure.SsdpCommunicationsServer.BeginListeningForBroadcasts()
Posted

It means you already have another dlna app started and bound to port 1900.

Posted

That would probably be TVMosaic. I don't think I can turn it off or change the port number there.

Can I change the port number in Emby?

  • 2 weeks later...
Posted

@@JBX

 

According to our investigations this is probably cause by changes to the .net core runtime.

 

Do you have a change to test this with the latest beta version which is using .net core 2.2?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...