How do i access my express/js app in development, running on idx's localhost?

I am developing my express/js app on idx. during development, when I run the app, how do i access the app? because it is running on idx’s localhost

You can use the preview inside the IDX platform. If you want to access it from e.g. an application on your local computer you can use the generated access token as described here:
Full-stack development in Project IDX