-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
would it be possible to keep the same port everytime #1
Comments
@RUGMJ7443 Currently, yes and no. Yes: The server picks the first available port in the range, meaning that if that port is always available, you will get the same port. This is typically the case when you forward one app at a time. No: When that port is taken (say, by another user or app) then the port will be skipped and you get the next port in line. We could implement a thing where we divide the range over a set of users (i.e if you have a range of 100 ports and 4 users in the system, then 4 users will each get a range of 25 ports, making sure that the ports of your choosing are not affected by other users.) |
How do I choose the range of ports I'd like to use |
There's a sample config file, you can set your range there (rename it to config.js to make sure it's recognized). If you decide to run it with Docker, then you also have to change the ranges there so that the ports are forwarded outside of the container. |
I'm sorry to be a pain I don't use ssh that much Where do I put that file? |
No problem, there's a config.sample.js file in the src/ folder when you clone the repository. You can rename that to config.js, and set your account there (you can simply rename the test username and password to something more private). |
and then i ssh into ssh user@ghoster_server.com -p 2222 -R 0:localhost:3000 |
@RUGMJ7443 You need to host it yourself, at the moment. So ghoster_server.com is an example. |
No description provided.
The text was updated successfully, but these errors were encountered: