应用环境:OpenOPC 1.2 (其中OPC SERVER:Win7 64+python2.7.6; OPC CLIENT:Win7 32+python2.7.6)
The OPC_GATE_HOST setting was added in 1.2.0 in order to support machines that have multiple ethernet interfaces. By setting this you can specify which interface the Gateway Service listens on. But unfortunately due to an oversight on my part, the default value for OPC_GATE_HOST supplied by the installer sets it to localhost. Thus until you specifically set OPC_GATE_HOST your Gatetway Service will only be listening on 127.0.0.1. In the next release of OpenOPC I will add a new feature where you can specify OPC_GATE_HOST as "*" thus telling it to a listen on all interfaces. This will be the default supplied by the installer. But for now, just set it manually to be your box's IP addresses.