How to keep logged in on both web:ports?
I have two instances of qBittorrent with different profiles running normally without issue on the same machine.
Although profiles are stored separately, both configurations are using the same usernames and passwords. And they are remembered in the browser.
When trying to log in both services (http://unconditionallove:8181
and http://unconditionallove:8282
)
the former session immediately ends when the latter connects.
If I log in http://unconditionallove:8282
in private browsering mode. I can keep both sessions successfully.
Is it possible to keep logged in on both ports? Thanks in advance!
Solution 1:
Your behaviour suggests that gBittorrent does not expect multiple servers on the same host. This is kind of normal for web servers.
When you log in to the second server the cookies for unconditionallove
(rather than unconditionallove:8282
) are updated and any "session" information that the first connection was using becomes invalid.
There are a few ways around this
-
Use
unconditionallove
for one host and the IP address for the second. This would give two unique sets of cookies, one forunconditionallove
and one for<IP address>
-
Add another name via your computer (not server) hosts file which points to the same IP address but with a different name. On Windows your
hosts
file (c:\windows\system32\drivers\etc\hosts
) you would add127.0.0.1 unconditionallove 127.0.0.1 unconditionallove2
(replace
127.0.0.1
with the IP Address of your server) -
If you need to connect to both servers from multiple machines then set up a DNS server on your network or computer that does this naming for you. Otherwise you will have to edit the hosts file for every computer.