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;








0















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?



enter image description here










share|improve this question






















  • 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

















0















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?



enter image description here










share|improve this question






















  • 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













0












0








0








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?



enter image description here










share|improve this question














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?



enter image description here







routing vps azure port-forwarding






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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










1 Answer
1






active

oldest

votes


















0














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






share|improve this answer

























  • 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











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
);



);













draft saved

draft discarded


















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









0














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






share|improve this answer

























  • 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















0














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






share|improve this answer

























  • 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













0












0








0







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






share|improve this answer















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







share|improve this answer














share|improve this answer



share|improve this answer








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

















  • 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

















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?