GRFICSv2 icon indicating copy to clipboard operation
GRFICSv2 copied to clipboard

Cannot connect to the PLC

Open CipDoesCisco opened this issue 2 years ago • 1 comments

Good afternoon,

I've set up everything according to your 2nd video and the system works up to a point.

What works: -the Unity UI plant page -the HMI page -the VMs.

The part that doesn't work is the PLC. I'm getting a EADDRINUSE for port 8080 when running the sudo nodejs server.js command.

I suppose it has something to do with port 8080, but there's nothing else running in VirtualBox. Screenshot 2023-10-22 193007

CipDoesCisco avatar Oct 22 '23 15:10 CipDoesCisco

I'm having the same issue. Did you manage to fix it?

It might be due to the DHCP server configuration.

Image Image

The VMs have static IPs, which could be causing a conflict with the adapter pools.

Image

Everything is working except for the OpenPLC server. When I run the command sudo nodejs server.js, it shows the same message as yours.

Image

Image

4mbrosio avatar Jan 28 '25 10:01 4mbrosio