Skip to content
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

Failed binding server socket #3

Closed
ghost opened this issue Nov 27, 2017 · 7 comments
Closed

Failed binding server socket #3

ghost opened this issue Nov 27, 2017 · 7 comments

Comments

@ghost
Copy link

ghost commented Nov 27, 2017

Hi,

I tried using redir for a specific port and after using the command it says:
Failed binding server socket: Cannot assign requested address
Is there a package that I forgot to install?

I used the command
redir --laddr=127.0.0.1 --lport=6901 --caddr=35.187.226.20 --cport=6901

Regards

@troglobit
Copy link
Owner

Check first, e.g. netstat, that port 6901 on your computer isn't used by some other service.

@troglobit
Copy link
Owner

Any luck with netstat, or does the problem remain?

@ghost
Copy link
Author

ghost commented Nov 28, 2017

@troglobit I checked nestat but the port is not being used. What should be the next step?

@troglobit
Copy link
Owner

That's really odd, how did you run netstat? With netstat -atnup you can see both TCP and UDP, in numerical listing. Try grepping for the port, e.g. netstat -atnup | grep :6901

Also, what version of redir are you using? As of v3.0 the default command line syntax does not use --laddr et al, only if configured with --enable-compat.

@ghost
Copy link
Author

ghost commented Nov 28, 2017

Will check again @troglobit i will provide feedback within the day.

@troglobit
Copy link
Owner

OK.

I must point out that if you're having problems with a pre-packaged version of redir, by e.g.
Debian/Ubuntu, then you should post any bug reports there. As upstream we can only ever
support the latest version.

@troglobit
Copy link
Owner

Closing issue due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant