Cant connect to server, i have my project set up and everything works except i cant connect to it.
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.
47 Replies
Project ID:
a1ba481e-dbe9-4664-8e2a-90e956f95850
a1ba481e-dbe9-4664-8e2a-90e956f95850
maybe running both tcp and udp is the problem? but that worked everywhere else
Thanks Daniel. But i dont understend your sugestion. This configs udp and tcp, i make in my code of the backend ?
its not a suggestion, i wanted to connect to my server hosted on Railway but i cant sir, it is timeouting
the app works on localhost and it worked everywhere before
its not a problem with my application, i set it up correctly
.
.
It's cool. anyway thanks for the help.
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
On my machine it works perfectly
you can connect to it?
nevermind, i log connections and i cant see any ips
those are private ips
I do not know exactly. But I see that the url is standing.
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
its a custom server made by me
Yes
froze
Two services database and backend its is working on railway
I try tosend post method for url https://tiny-addition-production.up.railway.app/login
but i received staus 503
Yes
i have an idea
what if we try to find numerical ip?
and try to use that instead?
maybe subdomain doesnt work?
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
nope, doesnt work with numerical ip too
maybe ports arent shared -.-
or something
I don't know what it could be
Thanks for try help me
you tried to help me first didnt you sir?
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
, thats really bad i cant use your service, thanks for making a good service for others sir
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.
do you two know each other?
i think you need to open another form cause this is mine and also submit your project id so he can help you
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
I know but it will be supported in the future for sure!
https://discord.com/channels/713503345364697088/820082368273973289/1081398121331961947
so you check if its http/https request and dont allow anything else?
don't hijack others help threads, please open your own #✋|help thread
you can only run an http server internally, and externally you can only access the app over https and port 443
also your virtual private network is checking on me, i had a 192.168.0.(i dont remember) connect to it too
that would just be a healthcheck, perfectly normal
okay if you can, ping me here when it will be available sir, thanks for the help.
I can recommend you read railways change logs, it would be announced there
i keep my account till that and will remember this
or i can make my server and subscribe to #📢|announcements right?
yep so you can get notified when a new change log comes out
Brody can you help me ?
make a new help form
*forum
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.
glad you have figured it out, of course in the future please open your own help threads