R
Railway16mo ago
Berniko

PROXY with railway

Is there a way to connect to the IP of the project hosted on railway?
17 Replies
Percy
Percy16mo ago
Project ID: N/A
ThallesComH
ThallesComH16mo ago
you mean to expose your service to the internet? (generate domain?)
Berniko
BernikoOP16mo ago
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
ThallesComH
ThallesComH16mo ago
ahh custom domain?
Berniko
BernikoOP16mo ago
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
ThallesComH
ThallesComH16mo ago
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
Berniko
BernikoOP16mo ago
And how do I do it with railyway, is there a way to somehow open my browser on the IP of railway?
ThallesComH
ThallesComH16mo ago
what do you mean by "open my browser on the ip of railway"?
Berniko
BernikoOP16mo ago
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
ThallesComH
ThallesComH16mo ago
ok so you want the ip address not the domain?
Berniko
BernikoOP16mo ago
Berniko
BernikoOP16mo ago
@thallescomh I want to connect to the project proxy How do i check port of the project?
ThallesComH
ThallesComH16mo ago
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.
Berniko
BernikoOP16mo ago
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?
ThallesComH
ThallesComH16mo ago
ok so thats probably not possible as railway only supports HTTP protocol. no
Berniko
BernikoOP16mo ago
ah sad
Brody
Brody16mo ago
whatever you're trying to do, you are definitely going about it in all the wrong ways I'm afraid
Want results from more Discord servers?
Add your server