Cannot connect to NextJS app
Hello, I have deployed a NextJS app built with Dockerfile, but I cannot connect to it.
The app is set to run on port 3001:
next dev —port 3001
I have added the PORT service variable with value 3001.
I have also added a proxy that forwards to port 3001.
Is there anything else that I am missing? Any help would be appreciated 🙏🏼
11 Replies
Project ID:
62ca0b8c-511e-4010-badc-08aea9e6ba05
Project ID: 62ca0b8c-511e-4010-badc-08aea9e6ba05
I have also added a proxy that forwards to port 3001.please explain this
In Settings > Networking, I have added a TCP Proxy to port 3001
next runs on http, you need to generate a domain
Ok, I have generated a domain, but I receive “Application failed to respond” when trying to connect
build and deploy logs please https://bookmarklets.up.railway.app/log-downloader/
Solution
you are starting next in development mode
Thank you @Brody my app is now up and running!
no problem!