#Cant connect to server, i have my project set up and everything works except i cant connect to it.

67 messages · Page 1 of 1 (latest)

agile pumice
#

I have a python server and i set the PORT env variable and i even checked with os.environ and it should work but it doesnt, i use 0.0.0.0 for listening but it still doesnt connect to my python server.

spark jungleBOT
#

Project ID: a1ba481e-dbe9-4664-8e2a-90e956f95850

agile pumice
#

a1ba481e-dbe9-4664-8e2a-90e956f95850

#

maybe running both tcp and udp is the problem? but that worked everywhere else

junior pawn
#

Thanks Daniel. But i dont understend your sugestion. This configs udp and tcp, i make in my code of the backend ?

agile pumice
#

the app works on localhost and it worked everywhere before

#

its not a problem with my application, i set it up correctly

agile pumice
agile pumice
junior pawn
#

It's cool. anyway thanks for the help.

agile pumice
junior pawn
#

On my machine it works perfectly

agile pumice
#

nevermind, i log connections and i cant see any ips

#

those are private ips

junior pawn
#

I do not know exactly. But I see that the url is standing.

agile pumice
#

its a custom server made by me

junior pawn
#

Yes

agile pumice
#

froze

junior pawn
#

Two services database and backend its is working on railway

#

but i received staus 503

junior pawn
#

Yes

agile pumice
#

i have an idea

#

what if we try to find numerical ip?

#

and try to use that instead?

#

maybe subdomain doesnt work?

junior pawn
#

in my body i send json {
"name": "thiago",
"password": "trybe@123"
}

#

I dont say it works

#

I imagine he problems its is on railway congigs

#

configs

agile pumice
#

nope, doesnt work with numerical ip too

#

maybe ports arent shared -.-

#

or something

junior pawn
#

I don't know what it could be

#

Thanks for try help me

agile pumice
autumn glacier
#

hello, it is not possible for you to run TCP or UDP servers on railway at the moment, only http servers. anything else will not work, no matter what port or ip you use

agile pumice
junior pawn
#

Thanks Brody. I try to make request on my backend nodejs but i received status code 503. There is a tutorial for connect mysql to backend. Two projects are deploy works on my dashboard but dont connect.

autumn glacier
#

do you two know each other?

agile pumice
agile pumice
autumn glacier
agile pumice
autumn glacier
#

you can only run an http server internally, and externally you can only access the app over https and port 443

agile pumice
#

also your virtual private network is checking on me, i had a 192.168.0.(i dont remember) connect to it too

autumn glacier
#

that would just be a healthcheck, perfectly normal

agile pumice
autumn glacier
#

I can recommend you read railways change logs, it would be announced there

agile pumice
#

i keep my account till that and will remember this

agile pumice
autumn glacier
#

yep so you can get notified when a new change log comes out

junior pawn
#

Brody can you help me ?

agile pumice
#

*forum

junior pawn
#

I'm sorry guys. I was interacting in the wrong topic that wasn't mine. Forgiveness. I already found my error. Sorry for the inconvenience. Sorry Daniel.