TCP PORT Blocked

Issues related to configuring your network
Post Reply
sampath13
Posts: 1
Joined: 2018/04/08 10:01:08

TCP PORT Blocked

Post by sampath13 » 2018/04/08 10:26:42

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

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: TCP PORT Blocked

Post by pjsr2 » 2018/04/08 16:09:27

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.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: TCP PORT Blocked

Post by hunter86_bg » 2018/04/10 04:09:37

On your case I would install 3 VMs , set them all to the default network and then do my experiments on VM level only.

Post Reply