How to simulate multiple users in a single machine?

I’m trying to make a multiuser web app (multiplayer games/chat room/etc). And I want to test it with multiple users without using many devices and/or using my friend’s help. Let’s say I can open multiple browsers (4-6) on my computer where I can open the inspector in each browser. Also, it’s read as a different user (different IP?) in each browser.