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
Release: 2023-05-21 23:43:24
forward
2037 people have browsed it

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 为相对应端口
Copy after login

View the open ports of the firewall

iptables -L INPUT -n --line-numbers
Copy after login

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!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template