Home > OS >  In a virtual machine Linux nginx, on Linux can use IP access, not on the Windows.
In a virtual machine Linux nginx, on Linux can use IP access, not on the Windows.

Time:10-10

Linux is a small white help
In a virtual machine Linux nginx, on Linux can use IP access, not on the Windows,
Online is related to a firewall, a long time but I firewall operation all say me to do with root access permissions enough:
[] root @ localhost XXX #/etc/sysconfig/iptables status
Bash:/etc/sysconfig/iptables: permissions not
Please help

CodePudding user response:

Check the firewall status can be used:
The/etc/init. D/iptables status
Or
Service iptables status
"/etc/sysconfig/iptables" is a firewall configuration file, without execute permissions,

CodePudding user response:

Can use "sudo command" way to use the administrator permissions to perform,

Estimate your virtual machine network is "Nat", if it is still need to configure port on the virtual machine software conversion can directly access your Linux server in the network

CodePudding user response:

First iptables -f all firewall rules deleted
And then use Windows browser input IP virtual machine to try
  • Related