S
S
shell_guy2021-10-20 18:21:19
Python
shell_guy, 2021-10-20 18:21:19

How to transfer python script data from windows server?

There is a script that parses the logs and then must transfer the data to Influxdb. How to organize the transfer of data to the database? To connect to the database, you need a username and password.
Because now this error:

raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='DB_IP, port=8086): Max retries exceeded with url: /write?db=radius (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000021378B4F820>: Failed to establish a new connection: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted'))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-10-20
@karabanov

WinError 10048

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question