Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
927 views
in Technique[技术] by (71.8m points)

tcp - Open a port in Centos os 8 Running Plesk Firewall

I am trying to open up the port to 7080 for Litespeed Web Console. I have enabled it in the Plesk Interface, I check the IP tables and its there, although twice but netstat returns nothing, blank. Curl says connection refused.

IPtables

-A INPUT -p tcp -m tcp --dport 7080 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 7080 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 7080 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 7080 -j ACCEPT

I edited the services vi /etc/services and found something for 7080

empowerid       7080/tcp                # EmpowerID Communication
empowerid       7080/udp                # EmpowerID Communication

All help greatly appreciated, thanks in advance.

question from:https://stackoverflow.com/questions/65626064/open-a-port-in-centos-os-8-running-plesk-firewall

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Sorted it, its actual port 7088


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...