码头(MIS)的配置:它不会从外部机器响应......为什么呢? [英] Jetty (mis)configuration: it wont respond from an external machine... why?

查看:170
本文介绍了码头(MIS)的配置:它不会从外部机器响应......为什么呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在

sudo apt-get install jetty

之后,我配置的情况下,战争文件和NO_START变量。所有工程确定,当我测试它在同一台机器上,如:

afterwards I configured the context, the war file and the NO_START variable. All works OK when I test it on the same machine, e.g.

curl http://localhost:8080/

然而,当我尝试从外部机器连接,它只是不回答。 我想这两者在Win 7的主机上的虚拟机,并​​在Amazon EC2上。

However, when I try to connect from an external machine, it just doesn't answer. I tried this both on a virtual machine on a Win 7 host, and on Amazon EC2.

感谢

推荐答案

确认这不是一个防火墙问题。也许8080端口被防火墙关闭。

Make sure this is not an firewall issue. Maybe 8080 port is closed by firewall.

也可以尝试添加一行到文件/ etc /默认/码头:

Also try add line into file /etc/default/jetty :

JETTY_HOST=0.0.0.0

请参阅<一href="http://serverfault.com/questions/156687/configuring-jetty-to-accept-connections-from-all-hosts-on-ubuntu-lucid">similar问题

这篇关于码头(MIS)的配置:它不会从外部机器响应......为什么呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆