Удаленная отладка PyCharm (pydevd) не соединяется со следующим сообщением:
error: [Errno 10061] No connection could be made because the target machine actively refused it
Как его устранить?
Выходная консоль в PyCharm показывает:
Starting debug server at port 21000
Use the following code to connect to the debugger:
import pydevd
pydevd.settrace('*.*.*.*', port=21000, suspend=False)
Waiting for process connection...
Server stopped.
Я проверил брандмауэр, и PyCharm разрешен для входящих и исходящих подключений.