Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to the PLC #17

Open
TertianIvy67732 opened this issue Oct 22, 2023 · 1 comment
Open

Cannot connect to the PLC #17

TertianIvy67732 opened this issue Oct 22, 2023 · 1 comment

Comments

@TertianIvy67732
Copy link

TertianIvy67732 commented Oct 22, 2023

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

@4mbrosio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants