How to allow access remote IP by other ports such 3000

I just access my app running on port 8080, but i need to access apps on other ports

How to configure it?