How to fix remote port forwarding failed for listen port 80
up vote
0
down vote
favorite
I use Serveo and want to expose my localhost site to internet with my own domain.
If I use serveo sudbomain it works perfect. But when I try to use it with my own domain name on port 80,it gets me this error:
Warning: remote port forwarding failed for listen port 80
I use this command:
ssh -R example.com:80:localhost:8080 serveo.net
but if I use different port for my domain It works perfect with that port, like
ssh -R example.com:2468:localhost:8080 serveo.net
when open http://example.com:2468 my site work on that port, but for port 80 won't.
If I use diferent port for my domain it works fine, but how to use it with the default port 80 so example.com to point to my localhost site?
ssh localhost portforwarding ssh-tunnel tunneling
add a comment |
up vote
0
down vote
favorite
I use Serveo and want to expose my localhost site to internet with my own domain.
If I use serveo sudbomain it works perfect. But when I try to use it with my own domain name on port 80,it gets me this error:
Warning: remote port forwarding failed for listen port 80
I use this command:
ssh -R example.com:80:localhost:8080 serveo.net
but if I use different port for my domain It works perfect with that port, like
ssh -R example.com:2468:localhost:8080 serveo.net
when open http://example.com:2468 my site work on that port, but for port 80 won't.
If I use diferent port for my domain it works fine, but how to use it with the default port 80 so example.com to point to my localhost site?
ssh localhost portforwarding ssh-tunnel tunneling
This is a little vague. I guess you're running ssh here? Please edit your question to show the SSH command that you're running.
– Kenster
Nov 22 at 15:23
I use this command: > ssh -R mydomain.com:80:localhost:8080 serveo.net
– Georgi Pehlivanov
Nov 22 at 16:09
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I use Serveo and want to expose my localhost site to internet with my own domain.
If I use serveo sudbomain it works perfect. But when I try to use it with my own domain name on port 80,it gets me this error:
Warning: remote port forwarding failed for listen port 80
I use this command:
ssh -R example.com:80:localhost:8080 serveo.net
but if I use different port for my domain It works perfect with that port, like
ssh -R example.com:2468:localhost:8080 serveo.net
when open http://example.com:2468 my site work on that port, but for port 80 won't.
If I use diferent port for my domain it works fine, but how to use it with the default port 80 so example.com to point to my localhost site?
ssh localhost portforwarding ssh-tunnel tunneling
I use Serveo and want to expose my localhost site to internet with my own domain.
If I use serveo sudbomain it works perfect. But when I try to use it with my own domain name on port 80,it gets me this error:
Warning: remote port forwarding failed for listen port 80
I use this command:
ssh -R example.com:80:localhost:8080 serveo.net
but if I use different port for my domain It works perfect with that port, like
ssh -R example.com:2468:localhost:8080 serveo.net
when open http://example.com:2468 my site work on that port, but for port 80 won't.
If I use diferent port for my domain it works fine, but how to use it with the default port 80 so example.com to point to my localhost site?
ssh localhost portforwarding ssh-tunnel tunneling
ssh localhost portforwarding ssh-tunnel tunneling
edited Nov 22 at 16:16
asked Nov 22 at 13:56
Georgi Pehlivanov
12
12
This is a little vague. I guess you're running ssh here? Please edit your question to show the SSH command that you're running.
– Kenster
Nov 22 at 15:23
I use this command: > ssh -R mydomain.com:80:localhost:8080 serveo.net
– Georgi Pehlivanov
Nov 22 at 16:09
add a comment |
This is a little vague. I guess you're running ssh here? Please edit your question to show the SSH command that you're running.
– Kenster
Nov 22 at 15:23
I use this command: > ssh -R mydomain.com:80:localhost:8080 serveo.net
– Georgi Pehlivanov
Nov 22 at 16:09
This is a little vague. I guess you're running ssh here? Please edit your question to show the SSH command that you're running.
– Kenster
Nov 22 at 15:23
This is a little vague. I guess you're running ssh here? Please edit your question to show the SSH command that you're running.
– Kenster
Nov 22 at 15:23
I use this command: > ssh -R mydomain.com:80:localhost:8080 serveo.net
– Georgi Pehlivanov
Nov 22 at 16:09
I use this command: > ssh -R mydomain.com:80:localhost:8080 serveo.net
– Georgi Pehlivanov
Nov 22 at 16:09
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53432569%2fhow-to-fix-remote-port-forwarding-failed-for-listen-port-80%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
This is a little vague. I guess you're running ssh here? Please edit your question to show the SSH command that you're running.
– Kenster
Nov 22 at 15:23
I use this command: > ssh -R mydomain.com:80:localhost:8080 serveo.net
– Georgi Pehlivanov
Nov 22 at 16:09