PROXY with railway
Is there a way to connect to the IP of the project hosted on railway?
17 Replies
Project ID:
N/A
you mean to expose your service to the internet? (generate domain?)
What I am trying to do is basically, I created a site and it needs cookie to log in to a platform, but I need to generate that cookie from the same IP address on where the site is hosted on so it does not expire
ahh custom domain?
If I generate cookie from my localhost IP and then use that on railway hosted site it expires, I need to generate cookie from railway project IP
yes, you would need to do that, unfortunately it's a browser limitation (some browsers allow it, but i wouldn't trust it entirely)
you would need to buy a domain and then link your frontend and backend together
And how do I do it with railyway, is there a way to somehow open my browser on the IP of railway?
what do you mean by "open my browser on the ip of railway"?
I have a domain, but it is not about connecting front end with back end, my backend simply needs cookie generated from the railway IP address in order to start
Okay so, each project has IP address right? to where it is hosted. I want to connect to that IP, same way you do as in the VPS but I want to open a browser
Something like with proxy
ok so you want the ip address not the domain?
@thallescomh
I want to connect to the project proxy
How do i check port
of the project?
domains listen on 443 (SSL) and it doesn't support TCP or UDP.
btw if you're running a proxy server, that is not allowed in Railway.
im not I just want to use it for one second
so I can generate cookie which does not expire
is there a way to SSH into railyway project btw?
ok so thats probably not possible as railway only supports HTTP protocol.
no
ah sad
whatever you're trying to do, you are definitely going about it in all the wrong ways I'm afraid