netstat shows SLS service using port 5160, port is open, but no "listening" status? 追蹤

Simpson Chung

Following the license troubleshooting guide, netstat shows SLS using port 5160, port is open, but no "listening" status on our license server? On client PCs, telnet error: connect failed. Our Security/Network Teams confirmed that our policies do not block ports. License server is running Windows Server 2012 R2, Bartender R9 2016. Client PCs are Windows 10 installed with Bartender R9 2016.

1 意見

Xabier Clemente
評論操作 永久連結

Hello Simpson,

Thank you for reaching us on our Community Forums!

Were you referencing this article? Our troubleshooting guide does mention the system hosting the BarTender license using the default TCP port 5160; however, this applies to BarTender 2019 and newer versions. In BarTender 2016 the communication between BarTender and the Seagull License Server goes through UDP port 5160. The telnet utility does not support the UDP protocol, thus it cannot be used for this purpose.

That said, we should start by checking the Firewall and determining if there is any system firewall blocking the communication over the 5160 UDP port.

We would recommend consulting with your system administrator before going through these steps.

As a quick test, on the system hosting the license (the computer on which the Seagull License Server service is running), we can issue the following command on a Windows command prompt console executed as Administrator.

This will add a rule to the local Windows Firewall so it accepts all incoming requests on UDP port 5160:
netsh advfirewall firewall add rule name="Open Port 5160 UDP" dir=in action=allow protocol=UDP localport=5160 

Also, we can use the netsh firewall show state command to check if the rule was applied successfully and which ports are currently open on our Windows Firewall:

Let us know how it went!