thiezn / iperf3-python

Python wrapper around iperf3
https://iperf3-python.readthedocs.org/
MIT License
111 stars 51 forks source link

Cannot run iperf on client with bind address #35

Open kbhonagiri16 opened 6 years ago

kbhonagiri16 commented 6 years ago

I'm trying to run server on 1 vm and client on other vm. so , i have to set client.bind_address which throws "unable to connect to server: Can't assign requested address". So basically any client.bind_address with localhost throws the above error

ChristofKaufmann commented 5 years ago

For me bind_address works as expected. I can set it to the local IP address of an interface like 192.168.0.100 and in the server output I can also confirm that it is used. I guess the issue is not caused by iperf3-python. Does it work for you with the CLI of iperf3?