【问题标题】:Cannot access jira after fresh install全新安装后无法访问jira
【发布时间】:2016-10-10 00:59:56
【问题描述】:

我在全新安装后无法访问 jira。

如果我从运行 jira 的机器上 wget localhost:8080,我会得到一个 html 文件。

如果我尝试从另一台计算机访问 IP_ADDRESS:8080,浏览器会响应“无法连接到...”

如果我 nmap 我的 jira 机器,它会显示以下内容:

Starting Nmap 5.51 ( http://nmap.org ) at 2014-04-29 11:28 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000017s latency).
Not shown: 997 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
8080/tcp open  http-proxy

我不是 linux 专家,所以我不太了解 iptables 和类似的东西。

我还检查了我的tomcat安装的access_log,但是文件是空的。

谁知道,怎么办?

【问题讨论】:

    标签: connection installation jira


    【解决方案1】:

    这是一个防火墙问题:

    [root@testing logs]# iptables -L INPUT --line-numbers
    Chain INPUT (policy ACCEPT)
    num  target     prot opt source               destination         
    1    ACCEPT     all  --  anywhere             anywhere            
    2    ACCEPT     icmp --  anywhere             anywhere             
    3    ACCEPT     all  --  anywhere             anywhere            
    4    ACCEPT     tcp  --  anywhere             anywhere            
    5    REJECT     all  --  anywhere             anywhere     --> I removed this line         
    

    【讨论】:

      【解决方案2】:

      您应该改为执行此行: iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT

      【讨论】:

        猜你喜欢
        • 2016-11-16
        • 1970-01-01
        • 2022-11-10
        • 2013-09-03
        • 1970-01-01
        • 1970-01-01
        • 2021-02-04
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多