Author Topic: qBittorrent failed listening on interface 0.0.0.0 port: TCP/45433  (Read 225 times)

Silizium

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Hi,
I have the problem on the Mac, that after restart qBittorrent I get the error:

qBittorrent failed listening on interface 0.0.0.0 port: TCP/45433. Reason: Address already in use.

What can I do? After restart the computer it is solved. But there must be an other solution.
« Last Edit: August 05, 2019, 03:53:09 AM by Silizium »

peterd

  • Newbie
  • *
  • Posts: 12
  • Karma: +1/-0
    • View Profile
Re: qBittorrent failed listening on interface 0.0.0.0 port: TCP/45433
« Reply #1 on: August 04, 2019, 09:23:11 PM »
0.0.0.0 is basically shorthand for "any available interface." I assume in your example that 192.168.0.101 is your internal IP address from your local access point, router, etc. Those connections in CLOSE_WAIT state are remote clients that didn't play nicely with the TCP rules, and haven't closed their end of the connection when your client asked them to, so the OS is following the rules and waiting for them to time out, which can take a while.

Try using the option to start listening on a different random port for each startup. That way those old connections can time out in the background while you get back up and running.

One other thing to try, it's possible that it's actually qBittorrent that's hung waiting for those connections to close. Try Ctrl-Option-Esc and see if it's still running. If it is, try forcing it to quit, then run netstat again.