Client PC (Win7/Win8) cannot ping to VMware server (CentOS 8), but server can ping client

Solution 1:

Okay, so eventually I got it to work myself...

What I did to finally get it working was:

  • On VMware settings, I went into Virtual Network Editor and changed the settings for "Bridged". I changed the used adapter from "Automatic" to the corresponding adapter of the server PC.
  • Changed the settings for the CentOS 8 to use Bridged.
  • On the CentOS 8 VM, I went to the internet adapter settings -- since this is an intranet system, it was a "wired" for it.
  • Clicked on the settings, and went onto the IPv4 tab, and changed it from Manual to Automatic (DHCP).
  • Back on the terminal, I started up Laravel again with the php artisan serve --host 192.168.xx.xx --port 8081 command, but now with a new IP that I got from changing the above settings. (Port is kept the same since it's the one I've opened via firewalld.
  • Tried to ping that IP on other computer, and now instead of request time out I got Destination Net Unreachable. Nevertheless, I tried to access the IP + port on a web browser, and now the page we've been trying to access now shows up!