installation Redmine under fedora
Added by green light over 15 years ago
Hello,
I installed redmine folowing the guide from a windows station with openSSH in a distant server,
the server is under fedora 9 but when I try to test if rails applications are working by the URL ipadresse:3000 (because I'm Under ssh I can't use localhost:3000) I get nothing (connexion failed) no errors
note that the installation was successful and when I start the server (mongrel) I have no errors
my configuration is : Rails 2.3.2, ruby 1.8.6, apache 2.2.9, mysql 5.0.77
first I used webrick (it started normally with no errors but i got connexion failed) then I used mongrel web server but still same problem.
I think the problem is that the server can not be seen from outside or a problem of the port 3000 even if apache is working and i can get apache welcome page by entring the IP adress in the URL and SVN is working too.
NB: the firewall is off
thanks
Replies (4)
RE: installation Redmine under fedora - Added by Neil K over 15 years ago
You can use text based browsers (such as elinks or lynx) to test the connection from localhost. Normally "elinks" is available for Fedora users. In that case, use:
- elinks http://localhost:3000
Also you can check whether the port 3000 is open (by mongrel) by using the command:
- lsof -i -P | grep 3000
Regards,
Neil
RE: installation Redmine under fedora - Added by green light over 15 years ago
Thanks Neil
I tried elinks and redmine is working perfectly,but still can't access from my windows station and I need to access to Redmine from distant stations. do you have any ideas?
the result of the command lsof -i -P | grep 3000 is :
mongrel_r 1027 root 3u IPv4 4092740 TCP *:3000 (LISTEN)
so I presume that the port is open.
RE: installation Redmine under fedora - Added by Neil K over 15 years ago
I strongly believe that a firewall is blocking the access. Could you please try clearing all your iptable rules using the command:
- iptables -F
Then try to access it from your windows box. Also try the following from your windows command prompt to see the port 3000 is reachable or not.
- telnet <your_linux_server_ip> 3000
Regards,
Neil
RE: installation Redmine under fedora - Added by green light over 15 years ago
Thank you very much Neil
Finally it worked, all I needed is the little clear of the iptable ^^
thanks for the speed