ruby - Rails application is not running on default 80 port. But runs on every port other than 80 -



ruby - Rails application is not running on default 80 port. But runs on every port other than 80 -

i have issue apache vhost. running rails 2.0.2 app on centos6. app running on webrick server. have set virtual host in apache issue application not working on port 80. running on every other port 80.

what should reason?

following code in app.conf file-

/etc/httpd/sites-enabled/app.conf

listen 80 <virtualhost *:80> documentroot /var/www/app/public servername www.domainname.com serveralias domainname.com errorlog /var/log/httpd/app/error.log customlog /var/log/httpd/app/access.log mutual <directory /var/www/app/public> allow options -multiviews </directory> </virtualhost>

i have included app.conf file httpd.conf file next statement.

include sites-enabled/*.conf

please suggest if missing in both app.conf , httpd.conf files. urgent.

thanks in advance!

find out process running on port 80.

use -

netstat -ant

if want open single port use:

-a input -m state --state new -m tcp -p tcp --dport 80 -j take

also can take help which process lisening port 80.

ruby-on-rails ruby apache centos passenger

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -