ERPNext Port based Multitenancy Does't work

I am trying to setup Port based multitenancy. But it doesn’t work.

when I try to access port 8001 or 8002. It doesn’t show website

Please help what is the problem :smiling_face_with_tear:

Firewall maybe?

What is the solution?

Thanks

If you are using UFW

sudo ufw allow 8001
sudo ufw allow 8002

I enable ufw
but doesn’t work

Ok. Are you in production mode (bench setup production)?
Is your server reachable from other computers?

No. For multitenancy i need production mode??

But … if you are not in production mode … are your bench running (bench start)?