Multitenancy based on port: Second site redirecting to first site

I had install second site (multitenancy) based on port and added port in inbound in aws too. But when i access second site with port, it is opening first site.