Finally, I think this is the expected behavior. Cookies for all websites are stored specifically for each website (for each domain) in a web browser. Therefore, if I only change the port, the cookies of the first instance conflict with the cookies of the other instance, because they have the same domain ( 111.222.33.44 in my example).
So there are some workarounds:
Change local domain
Creating a pair of domain names in my laptop in /etc/hosts :
111.222.33.44 cloud01 111.222.33.44 cloud02
Then, cookies no longer interfere with each other. To access each instance
http:
Broswer extension. Multilogin or Multiaccount
There is another workaround. If I use this chrome extension, the problem disappears because the sessions are processed separately:
source share