R
Railway10mo ago
Coldeny

Do I have only 1 port available?

I wanted to make a simple proxy server with ports acting like options because there is no other way for me to know options otherwise for my use case. I am new to this platform. The proxy server is to initially try some stuff on a console from 2011 by easily changing ports as if they were options for my use case. The only other way is to create more apps, am I wrong? There is also supposed to be a flask app on top. I wanted to like, thread them all but I don't know how this port thing will work with proxy servers and flask app all in the same app. Is it is a limitation that I can only have 1 port per app? Did I not see something? I apologize for any lack of information I definitely have shown with this post.
Solution:
these functions should just be endpoints
Jump to solution
10 Replies
Percy
Percy10mo ago
Project ID: N/A
Coldeny
Coldeny10mo ago
N/A
Brody
Brody10mo ago
that's correct, you can only expose one port externally, port 443
Coldeny
Coldeny10mo ago
i see. i can use 443 for a proxy server instead but then I would have to create another app for flask and that would basically mean 2 hours spent for each 1 hour in the real world…
Brody
Brody10mo ago
can you explain the architecture of your app, maybe I could provide some assistance?
Coldeny
Coldeny10mo ago
So there is this game console with an app you can send files to revive because official servers are long gone. I was thinking, if they want to disable notifications they should use port X and if not then port Y. Then there would be a flask server telling the schedule, the next batch of files and their contents and the RTC value range they would need to be in if they want to watch the videos which is gonna be on port Z (80 or 443, right?) The files are gonna be custom made and this is a test server and I have never done something public before. Ports are options because the app does not send console specific data. Only an IP address could be used to check and I don’t think I want to use and store IP addresses. I don’t wanna really store any personal information actually. Sorry if I am missing something with my logic. Thank you for trying to help me.
Solution
Brody
Brody10mo ago
these functions should just be endpoints
Coldeny
Coldeny10mo ago
but the whole thing is to change the urls of some requests to “revive” them and system settings of the said console has a proxy option. hm can i use paths for proxy urls, sorry i didnt know if thats possible
Brody
Brody10mo ago
i just think you are massively over complicating this, just use specific endpoints with query parameters
Coldeny
Coldeny10mo ago
thank you for the help