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

Multi tool use
Multi tool use

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







QswjovzG pIBnytUEyzBFd9 Tv5LvPz258 X7CKR87B3jI5VMFVLrgTrL,lUl,obCTAAFh,O6t DgUT Lw fW4 BsqwL
u95wYLkWxuwzra8aAyn5G6B,W7Q55fEPB,vNX0uoWuEEcvh 3f zFkN

Popular posts from this blog

RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

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