Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does Linux open port 9000 of Hadoop?

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

In this article, the editor introduces in detail "how Linux opens port 9000 of Hadoop". The content is detailed, the steps are clear, and the details are handled properly. I hope that this article "how to open port 9000 of Hadoop by Linux" can help you solve your doubts.

This is because the linux firewall closes port 9000 by default. If remote login is allowed, you can turn off the firewall or open the firewall to open port 9000, as shown below:

Effective immediately and expire after restart

Enable: service iptables start

Turn off: service iptables stop

Take effect after restart

Enable: chkconfig iptables on

Turn off: chkconfig iptables off

When the firewall is enabled, make the following settings to open the relevant port

Modify the / etc/sysconfig/iptables file to add the following:

-A RH-Firewall-1-INPUT-m state-state NEW-m tcp-p tcp-dport 9000-j ACCEPT

View Firewall iptables-L

Netstat-nupl (UDP type port) netstat-ntpl (TCP type port) you can use the lsof command to see if a port is open. To see that the port can be used in this way, I will take port 9000 as an example: lsof-iRank 9000 if it is shown that it is open, if it is not shown that it is not open.

After reading this, the article "how Linux opens port 9000 of Hadoop" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself. If you want to know more about related articles, welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report