2 years ago
my executable java jar program, dont use database.
have very less memory access needed.
However, it require two ports, needs to be comunicated with external without firewall restirctions. any two ports, either provided proir or at run time a way to inform firewall using some api, to make two available ports to be allowed for external communicaiton is also fine.
which way is preferable in Railway?
is there any api to interact with firewall , so that my java jar can interact directly to exclude firwall?
no issue if it is windows or linux where the server is deployed.
you can reply me also at shivachaturvedhi@gmail.com , my email id
if it si possible then will prefer dpeloying my app in your server
2 Replies
2 years ago
Hey, at this time Railway has no concept of a firewall, at least not one that's user configurable.
As for the multiple ports, you can only expose your app via multiple domains on port 443.
Example -
https://foo.domain.com:443 -> Internal port 8080
https://bar.domain.com:443 -> Internal port 8181
2 years ago
Thanks for the details.
I want my app, apart fro m being accessibel with port 443,
internally it ahs to export two additional ports, for relaying / proxying etc for i nternal communicatio with my other java programs.
so that my java pogram will interact with som eothe rjava programs running in other machines.
these two ports, need to be excluded from firewall restrictions,
Presumign that, internally the server will use some firwall