无法在ec2实例上安装ezproxy似乎有问题,因为它有一个公共和私有ip。
我用这个方法从url安装
https://www.oclc.org/support/services/ezproxy/documentation/download/install-linux.en.html
在步骤4和步骤5失败
错误
Checking ability to directly connect to iptest.ezproxy.com
Attempting to contact iptest.ezproxy.com by name
Connection established, sending my IP address (10.135.235.34) for testing
Waiting for response on port 0
The test results follow:
If you are using multiple IP interfaces on your system, some of
the information provided by this test may be inaccurate.
You claim to be ip-10-135-235-34.ec2.internal at address 10.135.235.34
To me, you appear to be 54.242.97.3
Since those don't match, there may be a proxy server between us.
I am now attempting to connect to your server to check for intervening
firewalls. If there is a firewall, this may take a little while.
Trying ip-10-135-235-34.ec2.internal
Connection to ip-10-135-235-34.ec2.internal failed, trying 10.135.235.34
Connection to 10.135.235.34 failed, trying 54.242.97.3
Connection to 54.242.97.3 failed
I am unable to connect to you. There may be a firewall between us.
Your system claims that its host name is ip-10-135-235-34.ec2.internal
That name failed to work, which may indicate a problem or may
have occurred if you have multiple IP addresses on this server.
最佳答案
54.242.97.3是您的公共ip地址吗?如果是,EZProxy应该能够连接。仔细检查EC2安全组,确保它允许EZProxy所需端口上的通信。
如果54.242.97.3不是您的公共ip地址,则可能是通过NAT网关连接的。按照说明在NAT网关后面设置EZProxy。
关于linux - 无法在ec2实例上安装ezproxy,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/38332157/