connection - 无法连接到 Alfresco

标签 connection port alfresco alfresco-share

我在我们公司的虚拟机(Centos)上安装了 Alfresco 5.0。 Alfresco 日志看起来正常并且 Alfresco 正在运行。但是,如果我尝试从我的办公室 Windows PC 调用 Alfresco-Website,我会“无法连接”。
我调用网站 http://IP-Adress:8080/share
我首先想到的是防火墙阻止了端口 8080。其他 Web 应用程序(如 Joomla 或 Moodle)也在 Centos-VM 上运行,可以通过 Web 毫无问题地访问。
我被困在这里,希望得到任何帮助。
下面是netstat、iptables和nmap的结果:

似乎在8080端口监听:

netstat -an | grep 8080 | grep -i listen
tcp 0 0 :::8080 :::* LISTEN

这里是 iptables 的输出:
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:mysql

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

map :
[root@SLCTEST alfresco-5.0.d]# nmap -sS -O 127.0.0.1

Starting Nmap 5.51 ( http://nmap.org ) at 2015-05-18 17:11 BRT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000035s latency).
Not shown: 989 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
3306/tcp open mysql
5432/tcp open postgresql
7070/tcp open realserver
8009/tcp open ajp13
8080/tcp open http-proxy
8443/tcp open https-alt
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
TCP/IP fingerprint:

最佳答案

为来自网络中其他主机的流量设置防火墙

iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080

并将 url 请求更改为:http://IP-Adress/share

关于connection - 无法连接到 Alfresco,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30333932/

相关文章:

Python套接字ssl连接

php - 无法更改 Doctrine 连接

java转mysql jdbc连接问题

c# - 使用 AT 命令通过 GSM 发送多部分短信

java - 将 Alfresco 扩展打包为 amp 和 jar 有什么区别?

java - 露天文件存储(alf_data)

.htaccess 规则在没有任何响应的情况下断开连接

port - 如何使用端口映射忽略输出端口

asp.net - 无法启动 IIS Express Web 服务器、无法注册 URL、访问被拒绝

javascript - Alfresco默认过滤纪录片库