502 Error
f-jacks3
FREEOP

8 months ago

I'm trying to connect my servers with each other, but I keep getting 502 errors in NGINX or 301 redirects in Express.

I've tried using both public and private addresses, but the issue remains the same.

Note: https://httpbin.org/get is public and not mine

Note: It works fine in codespace

Here's my default.conf:

server {

listen 80;

server_name _;

location / {

proxy_pass https://httpbin.org/get; or http://d-account.railway.internal:8080;

}

}

Solved

1 Replies

echohack
EMPLOYEE

8 months ago

Hmm, are you binding to IPv6?

I would recommend using private networking so you avoid egress costs.

https://docs.railway.com/guides/private-networking#listen-on-ipv6


Status changed to Awaiting User Response Railway 8 months ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...