# Can't reach my server

**URL:** <https://www.ruby-forum.com/t/cant-reach-my-server/227092>\
**Category:** NGINX\
**Created:** [March 4, 2013, 11:44am UTC](https://www.ruby-forum.com/t/cant-reach-my-server/227092 "2013-03-04T11:44:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaoz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/839c29/32.png) [@Kaoz](https://www.ruby-forum.com/u/Kaoz)\
**Post date:** [March 4, 2013, 11:44am UTC](https://www.ruby-forum.com/t/cant-reach-my-server/227092/1 "2013-03-04T11:44:28Z")

</div>

Hi,

I followed this:

> **[How To Install Linux, nginx, MySQL, PHP (LEMP) stack on CentOS 6 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6)**
>
> LEMP stack is a group of open source software to get web servers up and running. The acronym stands for Linux, nginx (pronounced Engine x), MySQL, and PHP. T…

//

Starting nginx: [OK]

//  
ps -ef | grep nginx:

root 1739 1714 0 09:40 pts/0 00:00:00 vi  
/etc/yum.repos/nginx.repo  
nginx 24053 24052 0 11:28 ? 00:00:00 php-fpm: pool www  
nginx 24054 24052 0 11:28 ? 00:00:00 php-fpm: pool www  
nginx 24055 24052 0 11:28 ? 00:00:00 php-fpm: pool www  
nginx 24056 24052 0 11:28 ? 00:00:00 php-fpm: pool www  
nginx 24057 24052 0 11:28 ? 00:00:00 php-fpm: pool www  
root 24093 1 0 11:34 ? 00:00:00 nginx: master process  
/usr/sbin/nginx -c /etc/nginx/nginx.conf  
nginx 24095 24093 0 11:34 ? 00:00:00 nginx: worker process

nginx 24096 24093 0 11:34 ? 00:00:00 nginx: worker process

nginx 24097 24093 0 11:34 ? 00:00:00 nginx: worker process

nginx 24098 24093 0 11:34 ? 00:00:00 nginx: worker process

root 24105 23964 0 11:36 pts/2 00:00:00 grep nginx

//

I can ping the server but I can’t reach the server through the IP.  
If someone can help me, it would be great ! 🙂

www.conf: [www.conf - Pastebin.com](http://pastebin.com/7HmPUwS2)  
default.conf: [default.conf - Pastebin.com](http://pastebin.com/7Gpjf3rc)  
nginx.conf: [nginx.conf - Pastebin.com](http://pastebin.com/Hq6be91p)

Posted at Nginx Forum:

> **[\[HELP\] Can't reach my server](https://forum.nginx.org/read.php?2,236896,236896#msg-236896)**
>
> Hi, I followed this: https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-centos-6 // Starting nginx: \[OK \] // ps -ef | grep nginx:

---

<div class="post-metadata">

**Author:** ![Kaoz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/839c29/32.png) [@Kaoz](https://www.ruby-forum.com/u/Kaoz)\
**Post date:** [March 4, 2013, 12:36pm UTC](https://www.ruby-forum.com/t/cant-reach-my-server/227092/2 "2013-03-04T12:36:27Z")

</div>

Have you try localhost on the server (use lynx or somethink else)?  
I think the default.conf is it:

server {  
listen 80;  
server\_name localhost;  
…

will be only used if you do something likehttp://localhost  
So change it to your domain.

Basti

Am 04.03.2013 11:44, schrieb Kaoz:
