Getting ERR_CONNECTION_REFUSE while accessing node application on aws ec2











up vote
-1
down vote

favorite
1












I have an instance on AWS (/hvm-ssd/ubuntu) and I want to visualize on the browser the files I upload without using a bucket, but something is preventing me to do so and I get an error ERR_CONNECTION_REFUSED on the browser.



Summary:
-Security groups enabled for SSH, HTTP and HTTPS
-I can see/upload/download files and folders using WinSCP
-I can connect using Putty
-I installed node and GIT on the server
-I can run node apps on the terminal
-When trying to access from the browser I use the format http://MYBROWSERIP/



I tried accessing on the browser to see the node app results I was working on and I couldn't, then I decided to try uploading a simple .html file and trying to display it using this format http://MYBROWSERIP/file.html and got the same error.



how can I see this sample file directly without having to create a bucket? my goal is not only to see this simple testing file but others as well.



Thanks.










share|improve this question
























  • What is the port of your node application/server? Have you opened that port in your security group?
    – Mohit Kumar
    Nov 10 at 23:15










  • Is there a node application running on the server or apache or something that would allow you to see the files?,
    – maxpaj
    Nov 10 at 23:31










  • also, the port should be listening on 0.0.0.0/0 for external access
    – Varun Chandak
    Nov 11 at 6:19










  • Please move your question to Super User (delete here, re-post there). It's off-topic here.
    – Martin Prikryl
    Nov 11 at 8:30















up vote
-1
down vote

favorite
1












I have an instance on AWS (/hvm-ssd/ubuntu) and I want to visualize on the browser the files I upload without using a bucket, but something is preventing me to do so and I get an error ERR_CONNECTION_REFUSED on the browser.



Summary:
-Security groups enabled for SSH, HTTP and HTTPS
-I can see/upload/download files and folders using WinSCP
-I can connect using Putty
-I installed node and GIT on the server
-I can run node apps on the terminal
-When trying to access from the browser I use the format http://MYBROWSERIP/



I tried accessing on the browser to see the node app results I was working on and I couldn't, then I decided to try uploading a simple .html file and trying to display it using this format http://MYBROWSERIP/file.html and got the same error.



how can I see this sample file directly without having to create a bucket? my goal is not only to see this simple testing file but others as well.



Thanks.










share|improve this question
























  • What is the port of your node application/server? Have you opened that port in your security group?
    – Mohit Kumar
    Nov 10 at 23:15










  • Is there a node application running on the server or apache or something that would allow you to see the files?,
    – maxpaj
    Nov 10 at 23:31










  • also, the port should be listening on 0.0.0.0/0 for external access
    – Varun Chandak
    Nov 11 at 6:19










  • Please move your question to Super User (delete here, re-post there). It's off-topic here.
    – Martin Prikryl
    Nov 11 at 8:30













up vote
-1
down vote

favorite
1









up vote
-1
down vote

favorite
1






1





I have an instance on AWS (/hvm-ssd/ubuntu) and I want to visualize on the browser the files I upload without using a bucket, but something is preventing me to do so and I get an error ERR_CONNECTION_REFUSED on the browser.



Summary:
-Security groups enabled for SSH, HTTP and HTTPS
-I can see/upload/download files and folders using WinSCP
-I can connect using Putty
-I installed node and GIT on the server
-I can run node apps on the terminal
-When trying to access from the browser I use the format http://MYBROWSERIP/



I tried accessing on the browser to see the node app results I was working on and I couldn't, then I decided to try uploading a simple .html file and trying to display it using this format http://MYBROWSERIP/file.html and got the same error.



how can I see this sample file directly without having to create a bucket? my goal is not only to see this simple testing file but others as well.



Thanks.










share|improve this question















I have an instance on AWS (/hvm-ssd/ubuntu) and I want to visualize on the browser the files I upload without using a bucket, but something is preventing me to do so and I get an error ERR_CONNECTION_REFUSED on the browser.



Summary:
-Security groups enabled for SSH, HTTP and HTTPS
-I can see/upload/download files and folders using WinSCP
-I can connect using Putty
-I installed node and GIT on the server
-I can run node apps on the terminal
-When trying to access from the browser I use the format http://MYBROWSERIP/



I tried accessing on the browser to see the node app results I was working on and I couldn't, then I decided to try uploading a simple .html file and trying to display it using this format http://MYBROWSERIP/file.html and got the same error.



how can I see this sample file directly without having to create a bucket? my goal is not only to see this simple testing file but others as well.



Thanks.







amazon-web-services connectivity






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 at 1:47









Mohit Kumar

543420




543420










asked Nov 10 at 22:47









Verónica Balbás

1




1












  • What is the port of your node application/server? Have you opened that port in your security group?
    – Mohit Kumar
    Nov 10 at 23:15










  • Is there a node application running on the server or apache or something that would allow you to see the files?,
    – maxpaj
    Nov 10 at 23:31










  • also, the port should be listening on 0.0.0.0/0 for external access
    – Varun Chandak
    Nov 11 at 6:19










  • Please move your question to Super User (delete here, re-post there). It's off-topic here.
    – Martin Prikryl
    Nov 11 at 8:30


















  • What is the port of your node application/server? Have you opened that port in your security group?
    – Mohit Kumar
    Nov 10 at 23:15










  • Is there a node application running on the server or apache or something that would allow you to see the files?,
    – maxpaj
    Nov 10 at 23:31










  • also, the port should be listening on 0.0.0.0/0 for external access
    – Varun Chandak
    Nov 11 at 6:19










  • Please move your question to Super User (delete here, re-post there). It's off-topic here.
    – Martin Prikryl
    Nov 11 at 8:30
















What is the port of your node application/server? Have you opened that port in your security group?
– Mohit Kumar
Nov 10 at 23:15




What is the port of your node application/server? Have you opened that port in your security group?
– Mohit Kumar
Nov 10 at 23:15












Is there a node application running on the server or apache or something that would allow you to see the files?,
– maxpaj
Nov 10 at 23:31




Is there a node application running on the server or apache or something that would allow you to see the files?,
– maxpaj
Nov 10 at 23:31












also, the port should be listening on 0.0.0.0/0 for external access
– Varun Chandak
Nov 11 at 6:19




also, the port should be listening on 0.0.0.0/0 for external access
– Varun Chandak
Nov 11 at 6:19












Please move your question to Super User (delete here, re-post there). It's off-topic here.
– Martin Prikryl
Nov 11 at 8:30




Please move your question to Super User (delete here, re-post there). It's off-topic here.
– Martin Prikryl
Nov 11 at 8:30

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53244178%2fgetting-err-connection-refuse-while-accessing-node-application-on-aws-ec2%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%2fstackoverflow.com%2fquestions%2f53244178%2fgetting-err-connection-refuse-while-accessing-node-application-on-aws-ec2%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

Xamarin.iOS Cant Deploy on Iphone

Glorious Revolution

Dulmage-Mendelsohn matrix decomposition in Python