eclipse-paho / eclipse-paho/paho.mqtt.python

`bind_address` not working

Open
#664 2 comments 0 reactions 0 assignees View on GitHub
Status: Available Status: More info needed
Dominant language
Python
Stars
2.4k
Forks
742
Avg merge
12d 48m
Merged PRs (30d)
1

Description

I am running on a Raspberry Pi with multiple network interfaces, and need to exclusively use one of those interfaces for the MQTT client. When I specify `bind_addess='192.168.128.102'` (eth2) in my client.connect() call, the connection is still being initiated on another address/interface 192.168.1.129 (eth0) which I confirmed by wireshark trace. Am I doing something wrong or is there a better way to force a specific interface?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.