Project

General

Profile

Cannot access redmine from other PC

Added by Nguyen Dang Quang over 12 years ago

I installed newest redmine on Centos 6.3 (Minimal Option)
After install, I can run redmine from local (use its IP or 127.0.0.1:3000)
But I cannot use redmine from other PC (cannot telnet on port 3000). I am not familiar with centos or ruby, please help.


Replies (3)

RE: Cannot access redmine from other PC - Added by Nguyen Dang Quang over 12 years ago

iptables problem, I have solved it,
Thanks

RE: Cannot access redmine from other PC - Added by Miguel Calderón about 12 years ago

Hi,

Could you tell me how did you set port 3000 (or any other port) to communicate with Redmine? Thank you in advance and regards,

RE: Cannot access redmine from other PC - Added by Nguyen Dang Quang about 12 years ago

as root, you run this command
  1. vi /etc/sysconfig/iptables
    //////////////////////////////////////////////////////////////
    add this line if you want to open port 3000
    -A INPUT -m state --state NEW -m tcp -p tcp --dport 3000 -j ACCEPT
    add this line if you want to open port 80
    -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
    (1-3/3)