Access on host served Angular app in Hyper-v











up vote
0
down vote

favorite












for testing purposes I want to access my Angular application (served on port 4200 of my computer) inside my HyperV virtual computer with Windows 7.



If I enter http://<host-ip>:4200 in IE or Chrome, I get:
This page can't be displayed.



Through ping <host-ip> I can sucessfully address the port.



I tried:




  • different switches (Intern / Extern)

  • disabled the firewall on virtual machine


without any success.
Any ideas?










share|improve this question
























  • Ping cannot address a port. How are you confirming that the Angular app is running? Is it running on the host or guest? (Your last bullet point mentions disabling the guest firewall, but that doesn't have anything to do with not being able to access a host port.)
    – slhck
    Nov 13 at 12:29










  • I just ment to say I can ping the IP in general, the Angular app is running on the host and I can access it there. I am not sure if it is the port, I just assumed that since it looks most likely to me that it is the port
    – Leun4m
    Nov 13 at 13:01















up vote
0
down vote

favorite












for testing purposes I want to access my Angular application (served on port 4200 of my computer) inside my HyperV virtual computer with Windows 7.



If I enter http://<host-ip>:4200 in IE or Chrome, I get:
This page can't be displayed.



Through ping <host-ip> I can sucessfully address the port.



I tried:




  • different switches (Intern / Extern)

  • disabled the firewall on virtual machine


without any success.
Any ideas?










share|improve this question
























  • Ping cannot address a port. How are you confirming that the Angular app is running? Is it running on the host or guest? (Your last bullet point mentions disabling the guest firewall, but that doesn't have anything to do with not being able to access a host port.)
    – slhck
    Nov 13 at 12:29










  • I just ment to say I can ping the IP in general, the Angular app is running on the host and I can access it there. I am not sure if it is the port, I just assumed that since it looks most likely to me that it is the port
    – Leun4m
    Nov 13 at 13:01













up vote
0
down vote

favorite









up vote
0
down vote

favorite











for testing purposes I want to access my Angular application (served on port 4200 of my computer) inside my HyperV virtual computer with Windows 7.



If I enter http://<host-ip>:4200 in IE or Chrome, I get:
This page can't be displayed.



Through ping <host-ip> I can sucessfully address the port.



I tried:




  • different switches (Intern / Extern)

  • disabled the firewall on virtual machine


without any success.
Any ideas?










share|improve this question















for testing purposes I want to access my Angular application (served on port 4200 of my computer) inside my HyperV virtual computer with Windows 7.



If I enter http://<host-ip>:4200 in IE or Chrome, I get:
This page can't be displayed.



Through ping <host-ip> I can sucessfully address the port.



I tried:




  • different switches (Intern / Extern)

  • disabled the firewall on virtual machine


without any success.
Any ideas?







windows-7 networking hyper-v






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 at 13:25









slhck

157k46434461




157k46434461










asked Nov 13 at 10:27









Leun4m

304111




304111












  • Ping cannot address a port. How are you confirming that the Angular app is running? Is it running on the host or guest? (Your last bullet point mentions disabling the guest firewall, but that doesn't have anything to do with not being able to access a host port.)
    – slhck
    Nov 13 at 12:29










  • I just ment to say I can ping the IP in general, the Angular app is running on the host and I can access it there. I am not sure if it is the port, I just assumed that since it looks most likely to me that it is the port
    – Leun4m
    Nov 13 at 13:01


















  • Ping cannot address a port. How are you confirming that the Angular app is running? Is it running on the host or guest? (Your last bullet point mentions disabling the guest firewall, but that doesn't have anything to do with not being able to access a host port.)
    – slhck
    Nov 13 at 12:29










  • I just ment to say I can ping the IP in general, the Angular app is running on the host and I can access it there. I am not sure if it is the port, I just assumed that since it looks most likely to me that it is the port
    – Leun4m
    Nov 13 at 13:01
















Ping cannot address a port. How are you confirming that the Angular app is running? Is it running on the host or guest? (Your last bullet point mentions disabling the guest firewall, but that doesn't have anything to do with not being able to access a host port.)
– slhck
Nov 13 at 12:29




Ping cannot address a port. How are you confirming that the Angular app is running? Is it running on the host or guest? (Your last bullet point mentions disabling the guest firewall, but that doesn't have anything to do with not being able to access a host port.)
– slhck
Nov 13 at 12:29












I just ment to say I can ping the IP in general, the Angular app is running on the host and I can access it there. I am not sure if it is the port, I just assumed that since it looks most likely to me that it is the port
– Leun4m
Nov 13 at 13:01




I just ment to say I can ping the IP in general, the Angular app is running on the host and I can access it there. I am not sure if it is the port, I just assumed that since it looks most likely to me that it is the port
– Leun4m
Nov 13 at 13:01















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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',
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%2fsuperuser.com%2fquestions%2f1374990%2faccess-on-host-served-angular-app-in-hyper-v%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1374990%2faccess-on-host-served-angular-app-in-hyper-v%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

Сан-Квентин

8-я гвардейская общевойсковая армия

Алькесар