Error when trying to run frepple for first time

38 views
Skip to first unread message

Prashanth Rajashekar

unread,
Apr 3, 2021, 6:19:42 AM4/3/21
to frePPLe users
Hi,

I'm getting the below error. I've copy pasted from the error message. Please Help.

Regards,
Prashanth
---------------------------
cx_Freeze: Python error in main script
---------------------------
Traceback (most recent call last):
  File "freppleserver.py", line 450, in <module>
OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\develop\python39\lib\site-packages\cx_freeze-6.5.3-py3.9-win-amd64.egg\cx_Freeze\initscripts\__startup__.py", line 74, in run
  File "C:\develop\python39\lib\site-packages\cx_freeze-6.5.3-py3.9-win-amd64.egg\cx_Freeze\initscripts\Console.py", line 36, in run
  File "freppleserver.py", line 453, in <module>
Exception: Invalid address '0.0.0.0' and/or port '8000': [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted

---------------------------
OK   
---------------------------

Johan De Taeye

unread,
Apr 3, 2021, 6:54:18 AM4/3/21
to freppl...@googlegroups.com

This error indicates there is already another software running on port 8000.

 

You can easily configure frepple to use a different port number.  Edit the following line in your djangosettings.py file and choose another number between 1024 and 64000:

      PORT = 8000

 

Johan De Taeye

Mob: +32 477.385.362

Skype: jdetaeye

Visit us at https://frepple.com

--
You received this message because you are subscribed to the Google Groups "frePPLe users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to frepple-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/frepple-users/447ed171-de4e-4647-85d9-a4bc1b3190f2n%40googlegroups.com.

Prashanth Rajashekar

unread,
Apr 3, 2021, 7:50:28 AM4/3/21
to frePPLe users
Thank You for the response Johan. However the error still remains.

Only difference is the new port number now reflects in the error message.

Regards,
Prashanth

Johan De Taeye

unread,
Apr 3, 2021, 8:24:19 AM4/3/21
to freppl...@googlegroups.com

In that case, it must be the server name that is causing trouble.

 

Try setting it explicitly by adding a line like this to your djangosettings.py file:   

      ADDRESS = "127.0.0.1"  

Use the ip-address or the hostname.

Reply all
Reply to author
Forward
0 new messages