Ubuntu server is not showing nginx default page











up vote
0
down vote

favorite












I have installed nginx in my Ubuntu 16.04.4 LTS



Status of nginx is also active(runing)



but when i put my ip into browser



it is not showing default nginx page insted it is showing This site can’t be reached.










share|improve this question









New contributor




Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Are you using your public IP address? What happens when you try to access 127.0.0.1:80 ?
    – Hugo
    11 hours ago










  • yes i am using public ip
    – Foram Sojitra
    2 hours ago















up vote
0
down vote

favorite












I have installed nginx in my Ubuntu 16.04.4 LTS



Status of nginx is also active(runing)



but when i put my ip into browser



it is not showing default nginx page insted it is showing This site can’t be reached.










share|improve this question









New contributor




Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Are you using your public IP address? What happens when you try to access 127.0.0.1:80 ?
    – Hugo
    11 hours ago










  • yes i am using public ip
    – Foram Sojitra
    2 hours ago













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have installed nginx in my Ubuntu 16.04.4 LTS



Status of nginx is also active(runing)



but when i put my ip into browser



it is not showing default nginx page insted it is showing This site can’t be reached.










share|improve this question









New contributor




Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I have installed nginx in my Ubuntu 16.04.4 LTS



Status of nginx is also active(runing)



but when i put my ip into browser



it is not showing default nginx page insted it is showing This site can’t be reached.







16.04 server xubuntu






share|improve this question









New contributor




Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday





















New contributor




Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Foram Sojitra

1




1




New contributor




Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Foram Sojitra is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Are you using your public IP address? What happens when you try to access 127.0.0.1:80 ?
    – Hugo
    11 hours ago










  • yes i am using public ip
    – Foram Sojitra
    2 hours ago


















  • Are you using your public IP address? What happens when you try to access 127.0.0.1:80 ?
    – Hugo
    11 hours ago










  • yes i am using public ip
    – Foram Sojitra
    2 hours ago
















Are you using your public IP address? What happens when you try to access 127.0.0.1:80 ?
– Hugo
11 hours ago




Are you using your public IP address? What happens when you try to access 127.0.0.1:80 ?
– Hugo
11 hours ago












yes i am using public ip
– Foram Sojitra
2 hours ago




yes i am using public ip
– Foram Sojitra
2 hours ago










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I have recently had issues with UFW.
you can do:


sudo ufw allow 80

this will allow port 80 connections.
I use apache2 for my webpages so Im not much help with nginx.




share|improve this answer








New contributor




Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • ufw is inactive
    – Foram Sojitra
    yesterday










  • Ok, so re reading you post, you say you are putting in your ip and getting page not found. Which IP are you putting in? Your WAN ip or the LAN IP of the server?
    – Barroncm
    6 hours ago












  • public ip of my ec2 instence
    – Foram Sojitra
    2 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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
});


}
});






Foram Sojitra is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093379%2fubuntu-server-is-not-showing-nginx-default-page%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








up vote
0
down vote













I have recently had issues with UFW.
you can do:


sudo ufw allow 80

this will allow port 80 connections.
I use apache2 for my webpages so Im not much help with nginx.




share|improve this answer








New contributor




Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • ufw is inactive
    – Foram Sojitra
    yesterday










  • Ok, so re reading you post, you say you are putting in your ip and getting page not found. Which IP are you putting in? Your WAN ip or the LAN IP of the server?
    – Barroncm
    6 hours ago












  • public ip of my ec2 instence
    – Foram Sojitra
    2 hours ago















up vote
0
down vote













I have recently had issues with UFW.
you can do:


sudo ufw allow 80

this will allow port 80 connections.
I use apache2 for my webpages so Im not much help with nginx.




share|improve this answer








New contributor




Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















  • ufw is inactive
    – Foram Sojitra
    yesterday










  • Ok, so re reading you post, you say you are putting in your ip and getting page not found. Which IP are you putting in? Your WAN ip or the LAN IP of the server?
    – Barroncm
    6 hours ago












  • public ip of my ec2 instence
    – Foram Sojitra
    2 hours ago













up vote
0
down vote










up vote
0
down vote









I have recently had issues with UFW.
you can do:


sudo ufw allow 80

this will allow port 80 connections.
I use apache2 for my webpages so Im not much help with nginx.




share|improve this answer








New contributor




Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









I have recently had issues with UFW.
you can do:


sudo ufw allow 80

this will allow port 80 connections.
I use apache2 for my webpages so Im not much help with nginx.





share|improve this answer








New contributor




Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered yesterday









Barroncm

33




33




New contributor




Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Barroncm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • ufw is inactive
    – Foram Sojitra
    yesterday










  • Ok, so re reading you post, you say you are putting in your ip and getting page not found. Which IP are you putting in? Your WAN ip or the LAN IP of the server?
    – Barroncm
    6 hours ago












  • public ip of my ec2 instence
    – Foram Sojitra
    2 hours ago


















  • ufw is inactive
    – Foram Sojitra
    yesterday










  • Ok, so re reading you post, you say you are putting in your ip and getting page not found. Which IP are you putting in? Your WAN ip or the LAN IP of the server?
    – Barroncm
    6 hours ago












  • public ip of my ec2 instence
    – Foram Sojitra
    2 hours ago
















ufw is inactive
– Foram Sojitra
yesterday




ufw is inactive
– Foram Sojitra
yesterday












Ok, so re reading you post, you say you are putting in your ip and getting page not found. Which IP are you putting in? Your WAN ip or the LAN IP of the server?
– Barroncm
6 hours ago






Ok, so re reading you post, you say you are putting in your ip and getting page not found. Which IP are you putting in? Your WAN ip or the LAN IP of the server?
– Barroncm
6 hours ago














public ip of my ec2 instence
– Foram Sojitra
2 hours ago




public ip of my ec2 instence
– Foram Sojitra
2 hours ago










Foram Sojitra is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Foram Sojitra is a new contributor. Be nice, and check out our Code of Conduct.













Foram Sojitra is a new contributor. Be nice, and check out our Code of Conduct.












Foram Sojitra is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093379%2fubuntu-server-is-not-showing-nginx-default-page%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

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b