Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

wrong host in line 21main.py #9

@seraphyn

Description

@seraphyn

There's the wrong host in line 21:
app.run(host='pluss.aiiane.com', port=54321, debug=True)
so there won't be the right host for listenling as configured in pluss.cfg.

The following error will be:

python main.py 
 * Running on http://pluss.aiiane.com:54321/
Traceback (most recent call last):
  File "main.py", line 21, in <module>
    app.run(host='pluss.aiiane.com', port=54321, debug=True)
  File "/usr/lib/python2.7/dist-packages/flask/app.py", line 772, in run
    run_simple(host, port, self, **options)
  File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 706, in run_simple
    test_socket.bind((hostname, port))
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 99] Cannot assign requested address

After changing the line 21 to the same host like in pluss.cfg copied from example
[server]
host=127.0.0.1:54321

It will run without any error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions