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

Ccsdaniel5/12/2023
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.
Ccsdaniel5/12/2023
a1ba481e-dbe9-4664-8e2a-90e956f95850
Ccsdaniel5/12/2023
Ccsdaniel5/12/2023
Ccsdaniel5/12/2023
Ccsdaniel5/12/2023
maybe running both tcp and udp is the problem? but that worked everywhere else
Ccsdaniel5/12/2023
TLThiago Lordello5/12/2023
Thanks Daniel. But i dont understend your sugestion. This configs udp and tcp, i make in my code of the backend ?
Ccsdaniel5/12/2023
its not a suggestion, i wanted to connect to my server hosted on Railway but i cant sir, it is timeouting
Ccsdaniel5/12/2023
the app works on localhost and it worked everywhere before
Ccsdaniel5/12/2023
its not a problem with my application, i set it up correctly
Ccsdaniel5/12/2023
.
Ccsdaniel5/12/2023
.
TLThiago Lordello5/12/2023
It's cool. anyway thanks for the help.
Ccsdaniel5/12/2023
just try to connect to it at all, it wont work, not a problem with sending messages or something but i cant even connect to it
TLThiago Lordello5/12/2023
On my machine it works perfectly
Ccsdaniel5/12/2023
you can connect to it?
Ccsdaniel5/12/2023
nevermind, i log connections and i cant see any ips
Ccsdaniel5/12/2023
Ccsdaniel5/12/2023
those are private ips
TLThiago Lordello5/12/2023
I do not know exactly. But I see that the url is standing.
Ccsdaniel5/12/2023
yeah, its not a web server, its not on port 80 so you cant connect to it from a browser only from code with sockets
Ccsdaniel5/12/2023
its a custom server made by me
TLThiago Lordello5/12/2023
Yes
Ccsdaniel5/12/2023
Ccsdaniel5/12/2023
froze
TLThiago Lordello5/12/2023
Two services database and backend its is working on railway
TLThiago Lordello5/12/2023
TLThiago Lordello5/12/2023
but i received staus 503
Ccsdaniel5/12/2023
TLThiago Lordello5/12/2023
Yes
Ccsdaniel5/12/2023
i have an idea
Ccsdaniel5/12/2023
what if we try to find numerical ip?
Ccsdaniel5/12/2023
and try to use that instead?
Ccsdaniel5/12/2023
maybe subdomain doesnt work?
TLThiago Lordello5/12/2023
in my body i send json {
"name": "thiago",
"password": "trybe@123"
}
TLThiago Lordello5/12/2023
I dont say it works
TLThiago Lordello5/12/2023
I imagine he problems its is on railway congigs
TLThiago Lordello5/12/2023
configs
Ccsdaniel5/12/2023
nope, doesnt work with numerical ip too
Ccsdaniel5/12/2023
maybe ports arent shared -.-
Ccsdaniel5/12/2023
or something
TLThiago Lordello5/12/2023
I don't know what it could be
TLThiago Lordello5/12/2023
Thanks for try help me
Ccsdaniel5/12/2023
you tried to help me first didnt you sir?
Bbrody5/12/2023
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
Ccsdaniel5/12/2023
:cryingman: , thats really bad i cant use your service, thanks for making a good service for others sir
TLThiago Lordello5/12/2023
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.
Bbrody5/12/2023
do you two know each other?
Ccsdaniel5/12/2023
i think you need to open another form cause this is mine and also submit your project id so he can help you
Ccsdaniel5/12/2023
no, he came in my ticket to help me or something first then i just said my issue to him and he said his issue to me so thats it
Bbrody5/12/2023
Ccsdaniel5/12/2023
so you check if its http/https request and dont allow anything else?
Bbrody5/12/2023
don't hijack others help threads, please open your own #✋|help thread
Bbrody5/12/2023
you can only run an http server internally, and externally you can only access the app over https and port 443
Ccsdaniel5/12/2023
also your virtual private network is checking on me, i had a 192.168.0.(i dont remember) connect to it too
Bbrody5/12/2023
that would just be a healthcheck, perfectly normal
Ccsdaniel5/12/2023
okay if you can, ping me here when it will be available sir, thanks for the help.
Bbrody5/12/2023
I can recommend you read railways change logs, it would be announced there
Ccsdaniel5/12/2023
i keep my account till that and will remember this
Ccsdaniel5/12/2023
or i can make my server and subscribe to #📢|announcements right?
Bbrody5/12/2023
yep so you can get notified when a new change log comes out
TLThiago Lordello5/12/2023
Brody can you help me ?
Ccsdaniel5/12/2023
make a new help form
Ccsdaniel5/12/2023
*forum
TLThiago Lordello5/12/2023
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.
Bbrody5/12/2023
glad you have figured it out, of course in the future please open your own help threads