Can't connect to Linux VM from OSX

SergioA4

Bit poster
This post have the exact same title of an old one, but unfortunately the previous solution does not work for me.
Have installed CentOS minimum installation in a Parallels VM, running Parallels 11.1.2 and MAC OSX 10.11.3. However, I cannot connect to the Parallels VM from OSX. I have installed Oracle XE database on the CentOS instance and would like to be able to connect to that.
I have even tried to create a small python program that create a simple TCP listener, trying to narrow the search for a solution.
The situation is that I could connect to oracle or to my simple program using telnet locally (on CentOS) but not from my MAC terminal.
Note that by "locally" I mean a ssh session, which indicate that my Linux VM is reachable from my MAC OS network.
I had already tried:
  • Disable MAC firewall at all;
  • Configure my VM as "Shared Network" and as "Host-only network";
The result is always the same: ssh works smoothly and oracle or my simple listener does not.
I would appreciate any help or ideas to try.
 
I don't think so, although I could be missing something.
[sergio@CentOS ~]$ sudo service iptables stop
Redirecting to /bin/systemctl stop iptables.service
Failed to stop iptables.service: Unit iptables.service not loaded.
 
If you are using centos 7, then it could be firewalld: # systemctl stop firewalld
I'm not a linux guy, but could it be that selinux blocks the socket? Try to disable selinux also: # echo 0 > /selinux/enforce
 
Back
Top