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

Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020