Windows Azure: Open all ports to external worldHow can I open a port in linux [UBUNTU] for all ip addresses?iptables port redirect not working for localhostOpen ports broken from internal networkRandom ports open on VPS boxopen port on ubuntu in azureShould I use non- standard Windows Azure Port Mappings?On Azure Windows VM, Why do some ports open fine and others do not?Azure port forwarding issues - endpoint is open and an inbound rule was made, but the port is still closedssh port forwarding with firewall-cmdCan't Open Ports Google Cloud VM Instance
Tic-Tac-Toe for the terminal
Adding strings in lists together
Is a hash a zero-knowledge proof?
Mother abusing my finances
Why would Lupin kill Pettigrew?
Team member doesn't give me the minimum time to complete a talk
Where can I find the list of all tendons in the human body?
Could I be denied entry into Ireland due to medical and police situations during a previous UK visit?
Thousands and thousands of words
Smart people send dumb people to a new planet on a space craft that crashes into a body of water
Preserving culinary oils
Do creatures all have the same statistics upon being reanimated via the Animate Dead spell?
If a massive object like Jupiter flew past the Earth how close would it need to come to pull people off of the surface?
If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?
How can I grammatically understand "Wir über uns"?
Why do Russians call their women expensive ("дорогая")?
If I create magical darkness with the Silent Image spell, can I see through it if I have the Devil's Sight warlock invocation?
Rotated Position of Integers
Did airlines fly their aircraft slower in response to oil prices in the 1970s?
Hiker's Cabin Mystery | Pt. IX
What does the behaviour of water on the skin of an aircraft in flight tell us?
Are there regional foods in Westeros?
Beginner's snake game using PyGame
How can I offer a test ride while selling a bike?
Windows Azure: Open all ports to external world
How can I open a port in linux [UBUNTU] for all ip addresses?iptables port redirect not working for localhostOpen ports broken from internal networkRandom ports open on VPS boxopen port on ubuntu in azureShould I use non- standard Windows Azure Port Mappings?On Azure Windows VM, Why do some ports open fine and others do not?Azure port forwarding issues - endpoint is open and an inbound rule was made, but the port is still closedssh port forwarding with firewall-cmdCan't Open Ports Google Cloud VM Instance
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have tried all options from google. But it seems i'm missing something...
I'm trying to open at least one port...
But it just doesn't open it.
iptables is empty, server is default python -m SimpleHTTPServer.
What i'm missing?
routing vps azure port-forwarding
|
show 3 more comments
I have tried all options from google. But it seems i'm missing something...
I'm trying to open at least one port...
But it just doesn't open it.
iptables is empty, server is default python -m SimpleHTTPServer.
What i'm missing?
routing vps azure port-forwarding
Interesting that only 80 port is working. Can't open 8000 port...
– Somebody
Oct 21 '15 at 10:41
if the service is really running, it's clearly an OS firewall problem. Try nmap localhost to get all the open ports in your server first. btw is it centos or ubuntu?
– Bruno Faria
Oct 21 '15 at 10:44
@Somebody - I'm confused about your question, combined with your comment. You're saying you can reach your VM on port 80 from the outside world? In your endpoint table, you don't have port 80 listed anywhere. I only see port 8000 (outside world) open, which is then mapping to internal port 8000 (on your VM). Can you please edit your question to clarify this?
– David Makogon
Oct 21 '15 at 12:20
@BrunoFaria - there are no OS-level firewall rules set by default when spinning up a new VM from the Azure OS images.
– David Makogon
Oct 21 '15 at 12:22
@DavidMakogon I have added new rule after posting this thread. It's strange, that 80 port working and 8000 not... I'll see if it actually reach it into OS level via tcpdump tomorrow...
– Somebody
Oct 21 '15 at 18:42
|
show 3 more comments
I have tried all options from google. But it seems i'm missing something...
I'm trying to open at least one port...
But it just doesn't open it.
iptables is empty, server is default python -m SimpleHTTPServer.
What i'm missing?
routing vps azure port-forwarding
I have tried all options from google. But it seems i'm missing something...
I'm trying to open at least one port...
But it just doesn't open it.
iptables is empty, server is default python -m SimpleHTTPServer.
What i'm missing?
routing vps azure port-forwarding
routing vps azure port-forwarding
asked Oct 21 '15 at 8:40
SomebodySomebody
234514
234514
Interesting that only 80 port is working. Can't open 8000 port...
– Somebody
Oct 21 '15 at 10:41
if the service is really running, it's clearly an OS firewall problem. Try nmap localhost to get all the open ports in your server first. btw is it centos or ubuntu?
– Bruno Faria
Oct 21 '15 at 10:44
@Somebody - I'm confused about your question, combined with your comment. You're saying you can reach your VM on port 80 from the outside world? In your endpoint table, you don't have port 80 listed anywhere. I only see port 8000 (outside world) open, which is then mapping to internal port 8000 (on your VM). Can you please edit your question to clarify this?
– David Makogon
Oct 21 '15 at 12:20
@BrunoFaria - there are no OS-level firewall rules set by default when spinning up a new VM from the Azure OS images.
– David Makogon
Oct 21 '15 at 12:22
@DavidMakogon I have added new rule after posting this thread. It's strange, that 80 port working and 8000 not... I'll see if it actually reach it into OS level via tcpdump tomorrow...
– Somebody
Oct 21 '15 at 18:42
|
show 3 more comments
Interesting that only 80 port is working. Can't open 8000 port...
– Somebody
Oct 21 '15 at 10:41
if the service is really running, it's clearly an OS firewall problem. Try nmap localhost to get all the open ports in your server first. btw is it centos or ubuntu?
– Bruno Faria
Oct 21 '15 at 10:44
@Somebody - I'm confused about your question, combined with your comment. You're saying you can reach your VM on port 80 from the outside world? In your endpoint table, you don't have port 80 listed anywhere. I only see port 8000 (outside world) open, which is then mapping to internal port 8000 (on your VM). Can you please edit your question to clarify this?
– David Makogon
Oct 21 '15 at 12:20
@BrunoFaria - there are no OS-level firewall rules set by default when spinning up a new VM from the Azure OS images.
– David Makogon
Oct 21 '15 at 12:22
@DavidMakogon I have added new rule after posting this thread. It's strange, that 80 port working and 8000 not... I'll see if it actually reach it into OS level via tcpdump tomorrow...
– Somebody
Oct 21 '15 at 18:42
Interesting that only 80 port is working. Can't open 8000 port...
– Somebody
Oct 21 '15 at 10:41
Interesting that only 80 port is working. Can't open 8000 port...
– Somebody
Oct 21 '15 at 10:41
if the service is really running, it's clearly an OS firewall problem. Try nmap localhost to get all the open ports in your server first. btw is it centos or ubuntu?
– Bruno Faria
Oct 21 '15 at 10:44
if the service is really running, it's clearly an OS firewall problem. Try nmap localhost to get all the open ports in your server first. btw is it centos or ubuntu?
– Bruno Faria
Oct 21 '15 at 10:44
@Somebody - I'm confused about your question, combined with your comment. You're saying you can reach your VM on port 80 from the outside world? In your endpoint table, you don't have port 80 listed anywhere. I only see port 8000 (outside world) open, which is then mapping to internal port 8000 (on your VM). Can you please edit your question to clarify this?
– David Makogon
Oct 21 '15 at 12:20
@Somebody - I'm confused about your question, combined with your comment. You're saying you can reach your VM on port 80 from the outside world? In your endpoint table, you don't have port 80 listed anywhere. I only see port 8000 (outside world) open, which is then mapping to internal port 8000 (on your VM). Can you please edit your question to clarify this?
– David Makogon
Oct 21 '15 at 12:20
@BrunoFaria - there are no OS-level firewall rules set by default when spinning up a new VM from the Azure OS images.
– David Makogon
Oct 21 '15 at 12:22
@BrunoFaria - there are no OS-level firewall rules set by default when spinning up a new VM from the Azure OS images.
– David Makogon
Oct 21 '15 at 12:22
@DavidMakogon I have added new rule after posting this thread. It's strange, that 80 port working and 8000 not... I'll see if it actually reach it into OS level via tcpdump tomorrow...
– Somebody
Oct 21 '15 at 18:42
@DavidMakogon I have added new rule after posting this thread. It's strange, that 80 port working and 8000 not... I'll see if it actually reach it into OS level via tcpdump tomorrow...
– Somebody
Oct 21 '15 at 18:42
|
show 3 more comments
1 Answer
1
active
oldest
votes
Azure use port forwarding (Endpoints) to connect to the VM, if you want to connect TO port 80 in the server FROM your computer using port 8000, you should add 8000 in the PUBLIC port and and 80 in the PRIVATE port. Normally they have the same value but for some reason we sometimes change it.
If for some reason, after you put the correct setting in azure endpoint (public 8000 and private 8000), you still can't connect, you should check your local computer firewall (either from windows or maybe antivirus) to allow port 8000
Edit:
Sometimes it will works after restarting the VM
don't forget to accept this as answer if it works so it will also help people that have the same problem
– Ansel
Dec 27 '15 at 15:09
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2fserverfault.com%2fquestions%2f730493%2fwindows-azure-open-all-ports-to-external-world%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Azure use port forwarding (Endpoints) to connect to the VM, if you want to connect TO port 80 in the server FROM your computer using port 8000, you should add 8000 in the PUBLIC port and and 80 in the PRIVATE port. Normally they have the same value but for some reason we sometimes change it.
If for some reason, after you put the correct setting in azure endpoint (public 8000 and private 8000), you still can't connect, you should check your local computer firewall (either from windows or maybe antivirus) to allow port 8000
Edit:
Sometimes it will works after restarting the VM
don't forget to accept this as answer if it works so it will also help people that have the same problem
– Ansel
Dec 27 '15 at 15:09
add a comment |
Azure use port forwarding (Endpoints) to connect to the VM, if you want to connect TO port 80 in the server FROM your computer using port 8000, you should add 8000 in the PUBLIC port and and 80 in the PRIVATE port. Normally they have the same value but for some reason we sometimes change it.
If for some reason, after you put the correct setting in azure endpoint (public 8000 and private 8000), you still can't connect, you should check your local computer firewall (either from windows or maybe antivirus) to allow port 8000
Edit:
Sometimes it will works after restarting the VM
don't forget to accept this as answer if it works so it will also help people that have the same problem
– Ansel
Dec 27 '15 at 15:09
add a comment |
Azure use port forwarding (Endpoints) to connect to the VM, if you want to connect TO port 80 in the server FROM your computer using port 8000, you should add 8000 in the PUBLIC port and and 80 in the PRIVATE port. Normally they have the same value but for some reason we sometimes change it.
If for some reason, after you put the correct setting in azure endpoint (public 8000 and private 8000), you still can't connect, you should check your local computer firewall (either from windows or maybe antivirus) to allow port 8000
Edit:
Sometimes it will works after restarting the VM
Azure use port forwarding (Endpoints) to connect to the VM, if you want to connect TO port 80 in the server FROM your computer using port 8000, you should add 8000 in the PUBLIC port and and 80 in the PRIVATE port. Normally they have the same value but for some reason we sometimes change it.
If for some reason, after you put the correct setting in azure endpoint (public 8000 and private 8000), you still can't connect, you should check your local computer firewall (either from windows or maybe antivirus) to allow port 8000
Edit:
Sometimes it will works after restarting the VM
edited Dec 27 '15 at 15:09
answered Nov 13 '15 at 1:54
AnselAnsel
23113
23113
don't forget to accept this as answer if it works so it will also help people that have the same problem
– Ansel
Dec 27 '15 at 15:09
add a comment |
don't forget to accept this as answer if it works so it will also help people that have the same problem
– Ansel
Dec 27 '15 at 15:09
don't forget to accept this as answer if it works so it will also help people that have the same problem
– Ansel
Dec 27 '15 at 15:09
don't forget to accept this as answer if it works so it will also help people that have the same problem
– Ansel
Dec 27 '15 at 15:09
add a comment |
Thanks for contributing an answer to Server Fault!
- 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%2fserverfault.com%2fquestions%2f730493%2fwindows-azure-open-all-ports-to-external-world%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
Interesting that only 80 port is working. Can't open 8000 port...
– Somebody
Oct 21 '15 at 10:41
if the service is really running, it's clearly an OS firewall problem. Try nmap localhost to get all the open ports in your server first. btw is it centos or ubuntu?
– Bruno Faria
Oct 21 '15 at 10:44
@Somebody - I'm confused about your question, combined with your comment. You're saying you can reach your VM on port 80 from the outside world? In your endpoint table, you don't have port 80 listed anywhere. I only see port 8000 (outside world) open, which is then mapping to internal port 8000 (on your VM). Can you please edit your question to clarify this?
– David Makogon
Oct 21 '15 at 12:20
@BrunoFaria - there are no OS-level firewall rules set by default when spinning up a new VM from the Azure OS images.
– David Makogon
Oct 21 '15 at 12:22
@DavidMakogon I have added new rule after posting this thread. It's strange, that 80 port working and 8000 not... I'll see if it actually reach it into OS level via tcpdump tomorrow...
– Somebody
Oct 21 '15 at 18:42