Dragit FAQ

From Wiki
Revision as of 07:12, 23 October 2018 by Root (Talk | contribs)

Jump to: navigation, search

Q1:"Error: That port is already in use."

Reason for this error is that the port 8000 is already in use. You may be using another software if it asks you for password.

What you can do to resolve this issue:
1, Shut down this software, and re-run Dragit. But Dragit will not be opened as it is still occupied by this software when you boot your copmuter next time.

2, Modify Dragit's ports. Dragit and this software you opened can run at the same time after Dragit's ports are modified.

How to modify Dragit's ports?
Open start file:

sudo nano start

Locate the last line:

python dragit.py runserver 0.0.0.0:8000

DRAGIT USED.png
Then just change 8000 to any port you want.

Theoretically, it can be set as any port, but to avoid conflicts, it is suggested to use the number between 8000~10000.

When you complete the modification, press Ctrl + O to save and press Ctrl + X to exit.

Run the Dragit again:

sudo ./start

If you don't get the Error "That port is already in use", it works properly then.

Q2:operate Dragit manully

cd /opt/SunFounder_Dragit/Dragit/
sudo ./start