FAQ: Network

µTorrent User Manual

Does µTorrent work well on Windows XP SP2 or higher operating systems with an unpatched TCPIP.sys?

Yes, by default, µTorrent will make at most 8 simultaneous connection attempts to work within the 10 connection attempt (half-open connection) limit on these operating systems.

Patching TCPIP.sys to a higher limit may help if you are having problems with your Internet connection, though increasing the limit may also cause some routers to freeze up (due to the increased rate of simultaneous connection attempts). If you would still like to patch the file, download the EventID 4226 Patcher from LvlLord.de.

Beware that in most cases, you should refrain from setting the TCPIP.sys limit to any number greater than 50, as there are few (if any) benefits to be gained from higher numbers. Also understand that net.max_halfopen should always be set to a number lower than the TCPIP.sys limit set by the patcher (at most 80% of the TCPIP.sys limit only). For more information on how (or whether) the half-open connection limit should be set, see this FAQ entry.

Microsoft has made a habit of reverting the TCPIP.sys connection attempt limit through Windows Update, which (for many users) occurs on a monthly basis. If you decide to patch your TCPIP.sys file and raise the net.max_halfopen limit along with it, then remember to repatch the file every time you perform a Windows Update (otherwise, you'll most likely run into connection troubles).


How can I tell if a peer is an incoming or outgoing connection?

You can check the Flag column in the Peers tab for the peer.


How do I change the number of active torrents jobs or downloads allowed to run simultaneously?

Change the queue settings. It is recommended that you not modify this setting unless you understand very clearly what the consequences are behind changing this setting. Starting too many torrent jobs simultaneously can be detrimental to bandwidth usage, so if you are not certain about your changes, stick to the numbers recommended by the Setup Guide.


How do I change the number of connections µTorrent uses?

Set the relevant options in the preferences. It is recommended that you not modify this setting unless you understand very clearly what the consequences are behind changing this setting. Starting too many torrent jobs simultaneously can be detrimental to bandwidth usage, so if you are not certain about your changes, stick to the numbers recommended by the Setup Guide.


How do I change the port µTorrent uses?

The listening port for incoming connections can be set with the Port used for incoming connections option in the Preferences. For outgoing conections, µTorrent uses the ephemeral port range by default, but this can be changed by using the net.outgoing_port and (optionally) net.outgoing_max_port options.


How do I forward ports?

Read the Port Forwarding guide.


How do I hide my IP address?

You don't. BitTorrent wasn't designed with anonymity in mind. Because it requires that peers know each other's IP addresses to transfer with one another, spoofing or hiding your IP address won't do you much good with regards to speed and/or connectivity.

VPN or proxy services may allow you to masquerade your IP address behind other IPs, but because they act as middlemen, you are effectively firewalled behind such services, which is a bad thing.


How do I make µTorrent report a different IP to the tracker? I'm behind a proxy and need this function.

Set the IP/Hostname to report to tracker option in the Preferences.


How do I make µTorrent use a different upload speed when seeding?

Set the Alternate upload rate when not downloading option in the Preferences.


How do I make µTorrent use a specific network adapter?

Set the net.bind_ip option to the IP address of the adapter you wish to use for incoming connections. Set the net.outgoing_ip option to the IP address of the adapter you wish to use for outgoing connections.


What port should I use for µTorrent?

It is generally recommended that you not pick ports in the 6881-6889 range, as they are commonly throttled by ISPs. Since no single port has inherent advantages over any other port, you can simply let µTorrent pick a random port for you.


What should I set my half-open connection limit to?

To answer this question, a bit of background information may be required. The "half-open" (technically, "embryonic") connection limit controls how many connections µTorrent will attempt to establish simultaneously at any given time. Half-open connections are just like phone calls that haven't yet been picked up by the other end of the line. The half-open connection limit controls the number of such "calls" you can attempt to make at any given time, but does not limit how many fully-established connections (phone calls that are successfully picked up from the other end) you can make in total.

An important point to note (that is commonly misunderstood and misrepresented) is the fact that the half-open connection limit does not affect the overall speed at which the you can download or upload. At best, increasing the half-open limit may decrease the amount of time it takes for µTorrent to attain decent speeds, but that only lasts for the first few minutes at worst. After several minutes have passed, the connection limit will have already been reached if there are enough peers anyhow, so at that point, there is no difference between a low half-open connection limit and a high limit.

High half-open limits, on the other hand, cause connection problems for many users because Microsoft limits the number of half-open connections able to be made globally in certain versions of Windows (starting with Windows XP with SP2, up to Windows Vista with SP1). It can be patched, but for little gain, as already explained previously (and Microsoft resets the limit every so often with some Windows Update anyhow). Even if your half-open connection count isn't limited by TCPIP.sys (either through patching, or you're using an OS that doesn't impose such a limit), an increase in the half-open limit would fall into the exact same limitations in efficacy as described above.

The rationale behind Microsoft's decision to limit half-open connections is that relatively few legitimate and properly-designed applications can be expected to require many half-open connections. On the flip side, if an application is attempting to establish a large amount of connections in a very short period of time, it is usually a sign that the application is a piece of malware attempting to communicate with other computers.

Why anyone would recommend that users increase their half-open limits as a general speed tweak that everyone should apply is incomprehensible. It doesn't actually help with speeds beyond the first few minutes at most, and comes with the detrimental effect of potentially killing connections for many users. The only potential exception to the "you don't need to increase your half-open connection limit" rule of thumb is if you have a connection with a very fast upload rate (think "several megabits per second"), and have many torrent jobs started simultaneously. In that situation, it may be beneficial to increase the half-open connection limit in order for µTorrent to be able to communicate (within a reasonable amount of time) with the large pool of peers and trackers associated with starting many torrent jobs simultaneously.

In instances where raising the half-open connection limit is unavoidable or necessary, the user should keep in mind that µTorrent's net.max_halfopen limit should never be set to a value greater than approximately 80% of the TCPIP.sys half-open connection limit. So if the TCPIP.sys limit is 100, the highest anyone should set µTorrent's net.max_halfopen should be 80. That doesn't mean it needs to be 80% either -- it can be less. That's just a safe limit guideline to maintain quality of connection.


Why am I still receiving incoming connection attempts after I have already closed µTorrent?

In BitTorrent, peers disconnect from the swarm without notifying every other peer in the swarm because it would be inefficient to do so, and also because peers rarely have the IPs of every other peer in the swarm (which would make it impossible to do in the first place). Because most BitTorrent clients cache peer information, when they try to connect to a particular peer in their cache, they may end up attempting to connect to a peer that has already disconnected since they last received the peer's IP and port number.

This phenomenom is what you are observing when you see incoming connection attempts after you've exited µTorrent. Depending on how many peers had a copy of your IP and port number in their peer cache, this can take up to several weeks to subside. Having DHT enabled may magnify the effects, as there are many more peers using DHT than there are connected to any one particular torrent swarm (so more users may have your IP and port number by the time you disconnect). Although there is no way to prevent this from occurring, disabling DHT may reduce the amount of time needed for this to taper off. Assuming your network is properly protected, these connection attempts can be safely ignored.