Hi all, please help me. - I installed CentOS on Parallels Desktop 9 on Mac. - I installed Lamp on CentOS. It included Apache2. - I use command ifconfig to get ip address on CentOS. The ip address is: 10.8.20.82 - I open Chrome on Mac and type "10.8.20.82". But chrome cannot connect to Apache2 on CentOS. - I config Parallels Desktop network type is Default Adapter. Please, show me what am I doing wrong? Thank you. More details here: [root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:1C:42:8F:95:89 inet addr:10.8.20.82 Bcast:10.8.20.255 Mask:255.255.255.0 inet6 addr: fe80::21c:42ff:fe8f:9589/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:41194 errors:0 dropped:0 overruns:0 frame:0 TX packets:17386 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:27365919 (26.0 MiB) TX bytes:1654954 (1.5 MiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:38 errors:0 dropped:0 overruns:0 frame:0 TX packets:38 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1900 (1.8 KiB) TX bytes:1900 (1.8 KiB)
Change the network adapters in both virtual machines to use bridge network instead of shared network. Although both machines are in the same segment there is no routing since this is the default for Parallels. With bridged network your vm's will now talk to the router and get packets transferred between them.