-
Notifications
You must be signed in to change notification settings - Fork 5
Description
While debugging the companion app I ran Leda with QEMU multiple times with no problems until I experienced a problem with port-forwarding.
The error that appears is the following:
Could not set up host forwarding rule 'tcp::1883-:1883'
After some troubleshooting the easiest way to fix it is to change the problematic port that is setup in the run-leda.sh
I would add a section maybe in the troubleshooting section like so:
QEMU Forwarding rule problem: Could not set up host forwarding rule 'tcp::1883-:1883'
QEMU might fail to run because of port-forwarding, in order to fix this problem the problematic port (in this case 1883) needs to be changed.
Therefore, locate the script inside the leda directory
then, locate the following line insiderun-leda.sh:
-net user,hostfwd=tcp::2222-:22,hostfwd=tcp::1880-:1880,hostfwd=tcp::1883-:1883,hostfwd=tcp::8888-:8888,hostfwd=tcp::30555-:30555 \
and change the problematic port to a different one like so:
-net user,hostfwd=tcp::2222-:22,hostfwd=tcp::1880-:1880,hostfwd=tcp::1884-:1884,hostfwd=tcp::8888-:8888,hostfwd=tcp::30555-:30555 \
The program should now work properly