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

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company