Hi,
I am new to linux OS. Recently i have installed CentOS (Desktop) in my machine. I am trying to setup Hadoop as a 3 node cluster using two other virtual machines. I am able to setup Hadoop and run different processes. But the problem here is : Slave nodes are not able to communicate to Host/master node over TCP port 9000. I added port 9000 to firewall, but that did not help.
Host OS(Desktop):
$ cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)
Guest OS(Minimum):
$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
I added port 9000 to public zone of firewall using below command:
$ firewall-cmd --zone=public --add-port=9000/tcp --permanent
Also when i run nmap in host machine i see below output:
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
631/tcp open ipp
5900/tcp open vnc
5901/tcp open vnc-1
9000/tcp open cslistener
When i run the same command in guest/vm OS i get below output.
PORT STATE SERVICE
22/tcp open ssh
53/tcp open domain
9000/tcp closed cslistener
I am not able to proceed from here. Any help is highly appreciated.
Regards
Sam
TCP PORT Blocked
Re: TCP PORT Blocked
A virtual guest cannot reach the virtual host through the network normally. This is a consequence of how the virtual network interface is designed.
See
https://access.redhat.com/documentation ... _interface for how you can set up an isolated network between guest and host.
See
https://access.redhat.com/documentation ... _interface for how you can set up an isolated network between guest and host.
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: TCP PORT Blocked
On your case I would install 3 VMs , set them all to the default network and then do my experiments on VM level only.