Solve the problem that the virtual machine installation tomcat host cannot be accessed

After installing linux in wmware, install the database, and start the service after JDK and tomcat. The virtual machine can access it, but the host cannot access it, but at the same time, the host and the virtual machine can be pinged.
The workaround is to turn off the firewall service in the virtual machine. Desktop--Management--Security Level and Firewall, set the firewall to: disable. Or after logging in with root, execute
  service iptables stop --stop
  service iptables start --start

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325060018&siteId=291194637