mark9599
I am using Windows with Cygwin installed and Runtime shows this error socket.error: [Errno 112] Address already in use

I've removed Python3 and only have Python2.
Reply 0 0
thiagoralves
You have another application using port 8080. You need to free up that port first
Reply 0 0
Himawan

Hi, 

I already killed the apps using port 8080 but it still has an issue as follow :

Verifying Runtime Installation...
* Serving Flask app "webserver" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)

Pls advise. 

 

Reply 0 0
jesawyers63
Something still has port 8080 open, but you can change the port that the webserver uses.

Find the file webserver.py

On my Win10 machine it is located at....

C:\Users\FlightSim\OpenPLC\Runtime\home\FlightSim\OpenPLC_v3\webserver

Where FlightSim is my username.  Yours will be different.

With any text editor ( I used Notepad++) open webserver.py and do a search for app.run

You will see the following line...

app.run(debug=False, host='0.0.0.0', threaded=True, port=8080)

Change the port to something different like 8181

Restart openPLC  Runtime

You should now be able to use your web browser to access the runtime interface using http://127.0.0.1:8181

Username = openplc    Password = openplc
Reply 1 0
thiagoralves
Himawan wrote:

Hi, 

I already killed the apps using port 8080 but it still has an issue as follow :

Verifying Runtime Installation...
* Serving Flask app "webserver" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)

Pls advise. 

 


There is absolutely no issues with this. OpenPLC just started as it should
Reply 0 0
Himawan
Splendid ! Finally solved, thanks a lot !
Reply 0 0
Reply