TCP Connection Refused on internal network

erikskrt
PRO

10 months ago

Post "http://llm-router.railway.internal/chat";: dial tcp [fd12:534b:a115:0:8000:e:eae9:8728]:80: connect: connection refused

Deployment ID: 6bda7ac5-4a8b-4a66-ac21-6d37bf229cdd

0 Replies

erikskrt
PRO

10 months ago

I'm unable to connect to another process on the internal network


erikskrt
PRO

10 months ago

oh i'm a moron, wasn't following these docs



erikskrt
PRO

10 months ago

i've used private network in other PAAS and you don't have to broadcast over ipv6, maybe should have a big red disclaimer or something because I didn't realize railway behaves differently


erikskrt
PRO

10 months ago

hmm still running into issues actually


erikskrt
PRO

10 months ago

my llm router is listening on ipv6 port 6969


erikskrt
PRO

10 months ago

Error calling MAIN LLM API (attempt 5/5) error calling LLM router: Post "http://llm-router.railway.internal:6969/chat";: dial tcp [fd12:534b:a115:0:8000:18:5fb0:aefb]:6969: connect: connection refused


erikskrt
PRO

10 months ago

never mind i am still a moron and even if you listen on ipv6 in go fiber you have to change some obscure network setting because it defaults to ipv4 only instead of both ipv4 and ipv6????


erikskrt
PRO

10 months ago

hoping this fixes it 😭


erikskrt
PRO

10 months ago

🙏


erikskrt
PRO

10 months ago

this server is the best rubber duck ever <:rubber_duck:1055213027038859395>


erikskrt
PRO

10 months ago

i'm sorry to waste all of your tme


erikskrt
PRO

10 months ago

this is probably a good idea though


erikskrt
PRO

10 months ago

IT WORKED


erikskrt
PRO

10 months ago

I AM FOREVER GRATEFUL TO DOCUMENTATION


erikskrt
PRO

10 months ago

🙏


10 months ago

I don't know if a big red disclaimer is necessary, but the docs say you must listen on IPv6.


10 months ago

we also have docs for that! -


10 months ago

also, the private network does not take 3 seconds anymore, that is old information and will be removed very soon, similarly, you no longer need any work around for alpine


erikskrt
PRO

10 months ago

fair enough

maybe just Private Network (IPV6) would be enough to signal it


erikskrt
PRO

10 months ago

but yea it's just idiot proofing, not explicitly needed but will avoid people like me going down the rabbithole


10 months ago

don't we already say that?

> Since the private network is an IPv6 network…


erikskrt
PRO

10 months ago

this was where in the UI i found out about private networking support in railway

1292225541021110300


erikskrt
PRO

10 months ago

and I was like oh sick i'll use that then


TCP Connection Refused on internal network - Railway Help Station