Home >Operation and Maintenance >Linux Operation and Maintenance >The jar package has been running on the Linux server but the address cannot be accessed. How to solve the problem?

The jar package has been running on the Linux server but the address cannot be accessed. How to solve the problem?

PHPz
PHPzforward
2023-05-21 23:43:242030browse

I have run the jar package using the command today

The jar package has been running on the Linux server but the address cannot be accessed. How to solve the problem?

But when accessing locally, I cannot access it, and the security group policy of the cloud service has also been opened accordingly. The corresponding port.

The jar package has been running on the Linux server but the address cannot be accessed. How to solve the problem?

Solution:

Modify the open interfaces of the firewall

iptables -I INPUT -p tcp --dport 8764 -j ACCEPT 8764 为相对应端口

View the open ports of the firewall

iptables -L INPUT -n --line-numbers

The jar package has been running on the Linux server but the address cannot be accessed. How to solve the problem?

The above is the detailed content of The jar package has been running on the Linux server but the address cannot be accessed. How to solve the problem?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete