tftp server service fails to start

Sorry if I post this question twice but I did not saw my first post on the forum.

I've installed solarwinds tftp server version 10.9.1.33 on windows 10 pc

I've tried to start tftp service in the tftp server application but it stopped imediately.

I've tried to start the automatic service solar tftp servcie (after opening the tftp application) in services.msc and it gave the message: "service stopped immediateley"

I've disabled my anti-virus kaspersky and disabled my firewall.

I'm sure there is no other application running on port 69 because wireshark on pc ethernet tells me the router (tftp client to receive file) connected to pc get packet "icmp unreachable (port unreachable)" as answer to tftp request. And netstat -a on my pc does not see port 69 on local address.

I've installed the same software on another windows 10 pc with avast antivirus and here I have the same problem: service stopped immediatly after starting.

How to find a solution?

  • On the eventlog applications of windows 10 I've found there is a socket conflict with stopping and starting de solar tftp service.

    But netstat -a -b -n | find "::69" and netstat -a -b -n | find ":8099" gives nothing as result.

    C:\WINDOWS\system32>netstat -a -b -n | find "8099"

    C:\WINDOWS\system32>netstat -a -b -n | find ":69"

    C:\WINDOWS\system32>

    Also netstat -a -b -n | find "system" gives nothing

    I don't understand why in the eventlog there is first a log with message of socketexception on service stop failed of tftp and then a log with message of socketexception on service start failed. This logs came there on the moment I start the service in the solarwinds application.

    I add the enventlogs below in dutch:

    Logboeknaam:   Application

    Bron:          TFTP Service

    Datum:         13/01/2019 19:17:31

    Gebeurtenis-id:0

    Taakcategorie: Geen

    Niveau:        Fout

    Trefwoorden:   Klassiek

    Gebruiker:     n.v.t.

    Computer:      DESKTOP-STISD19

    Beschrijving:

    Stoppen van service is mislukt. System.Net.Sockets.SocketException: Elk socketadres (protocol/netwerkadres/poort) kan normaal slechts één keer worden gebruikt

       bij System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

       bij System.Net.Sockets.Socket.Bind(EndPoint localEP)

       bij System.Net.Sockets.TcpListener.Start(Int32 backlog)

       bij System.Net.Sockets.TcpListener.Start()

       bij System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(Int32 port)

       bij TFTPServer.Service.TFTPServer..ctor()

       bij TFTPServer.Service.TFTPServer.get_Current()

       bij TFTPServer.Service.TFTPService.OnStop()

       bij System.ServiceProcess.ServiceBase.DeferredStop()

    Gebeurtenis-XML:

    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

      <System>

        <Provider Name="TFTP Service" />

        <EventID Qualifiers="0">0</EventID>

        <Level>2</Level>

        <Task>0</Task>

        <Keywords>0x80000000000000</Keywords>

        <TimeCreated SystemTime="2019-01-13T18:17:31.027688600Z" />

        <EventRecordID>7879</EventRecordID>

        <Channel>Application</Channel>

        <Computer>DESKTOP-STISD19</Computer>

        <Security />

      </System>

      <EventData>

        <Data>Stoppen van service is mislukt. System.Net.Sockets.SocketException: Elk socketadres (protocol/netwerkadres/poort) kan normaal slechts één keer worden gebruikt

       bij System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

       bij System.Net.Sockets.Socket.Bind(EndPoint localEP)

       bij System.Net.Sockets.TcpListener.Start(Int32 backlog)

       bij System.Net.Sockets.TcpListener.Start()

       bij System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(Int32 port)

       bij TFTPServer.Service.TFTPServer..ctor()

       bij TFTPServer.Service.TFTPServer.get_Current()

       bij TFTPServer.Service.TFTPService.OnStop()

       bij System.ServiceProcess.ServiceBase.DeferredStop()</Data>

      </EventData>

    </Event>

    --------------------------------------------------------------------------------------------------------

    Logboeknaam:   Application

    Bron:          TFTP Service

    Datum:         13/01/2019 19:17:31

    Gebeurtenis-id:0

    Taakcategorie: Geen

    Niveau:        Fout

    Trefwoorden:   Klassiek

    Gebruiker:     n.v.t.

    Computer:      DESKTOP-STISD19

    Beschrijving:

    Service kan niet worden gestart. System.Net.Sockets.SocketException: Elk socketadres (protocol/netwerkadres/poort) kan normaal slechts één keer worden gebruikt

       bij System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

       bij System.Net.Sockets.Socket.Bind(EndPoint localEP)

       bij System.Net.Sockets.TcpListener.Start(Int32 backlog)

       bij System.Net.Sockets.TcpListener.Start()

       bij System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(Int32 port)

       bij TFTPServer.Service.TFTPServer..ctor()

       bij TFTPServer.Service.TFTPServer.get_Current()

       bij TFTPServer.Service.TFTPService.OnStop()

       bij System.ServiceProcess.ServiceBase.DeferredStop()

       bij System.ServiceProcess.ServiceBase.Stop()

       bij TFTPServer.Service.TFTPServic...

    Gebeurtenis-XML:

    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

      <System>

        <Provider Name="TFTP Service" />

        <EventID Qualifiers="0">0</EventID>

        <Level>2</Level>

        <Task>0</Task>

        <Keywords>0x80000000000000</Keywords>

        <TimeCreated SystemTime="2019-01-13T18:17:31.027688600Z" />

        <EventRecordID>7880</EventRecordID>

        <Channel>Application</Channel>

        <Computer>DESKTOP-STISD19</Computer>

        <Security />

      </System>

      <EventData>

        <Data>Service kan niet worden gestart. System.Net.Sockets.SocketException: Elk socketadres (protocol/netwerkadres/poort) kan normaal slechts één keer worden gebruikt

       bij System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)

       bij System.Net.Sockets.Socket.Bind(EndPoint localEP)

       bij System.Net.Sockets.TcpListener.Start(Int32 backlog)

       bij System.Net.Sockets.TcpListener.Start()

       bij System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean exclusiveAddressUse)

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object data)

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()

       bij System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(Int32 port)

       bij TFTPServer.Service.TFTPServer..ctor()

       bij TFTPServer.Service.TFTPServer.get_Current()

       bij TFTPServer.Service.TFTPService.OnStop()

       bij System.ServiceProcess.ServiceBase.DeferredStop()

       bij System.ServiceProcess.ServiceBase.Stop()

       bij TFTPServer.Service.TFTPServic...</Data>

      </EventData>

    </Event>

  • Hi,

    This seems to be a bug of version 10.9.1.33 on no-english os: someone detected this on a french os.

    So I tried version 10.9.1.33 on windows 7 english as virtual machine and the service started fine.

    Then I tried the same version on windows 7 dutch as virtual machine and the service didn't start but stopped immediatly after starting.

    So can you mail me a link to version 11.0.0.5 and version 10.9.0.25 please?Or do you have of better propose of a version w/o the bug?

    Many thanks

  • I have found a solution.

    I have used bridged mode on an english os virtual machine with vmware so the vm can be accessed through the ethernet interface of the pc from outside.