Unable to reach access my web server via private network
tansandoteth
PROOP

a year ago

I have Tailscale setup, so I can access some of my admin dashboards behind it. Specifically, I'm using the private networking hostname to access it via my browser: *.railway.internal

Right now, I tried to spin up smoothmq and it seems I can access it via a public network, but not through the private network. I set the ports and tried different host names like localhost, and 0.0.0.0 , but it seems I am getting this error still:

netstack: could not connect to local backend server at [fd12:ef17:263b:0:9000:1d:e9be:a599]:3000: dial tcp [fd12:ef17:263b:0:9000:1d:e9be:a599]:3000: connect: connection refused

I could ping it, but I'm unsure why I have no issues accessing another web server. I am sure its something I misconfigured, but I am unsure what it might be.

Solved

6 Replies

tansandoteth
PROOP

a year ago

c6b347a2-4303-459f-8d48-60e445d0b480


tansandoteth
PROOP

a year ago

This seems related. I tried serving :: with port 3000, but still isn't working. https://docs.railway.com/guides/private-networking#what-if-i-am-making-a-request-server-side-but-from-vercel


tansandoteth
PROOP

a year ago

Actually i think I figured out the problem through that documentation. It looks like the lib was not listening on IPv6: https://github.com/poundifdef/smoothmq/blob/a6094b12b2f13f3a0f6349ac12cccc2f4715a47b/cmd/smoothmq/server/server.go#L90-L92

However, it would be nice if someone could verify my findings


a year ago

The private network is IPv6 only, so for any communication within the private network to work, the application you want to access would need to be listening on IPv6.


tansandoteth
PROOP

a year ago

Thanks for reaffirming Brody!


a year ago

!s


Status changed to Solved brody 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...