You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 inside run-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
The text was updated successfully, but these errors were encountered:
Just to be sure, could it be that your tried to run Leda twice on the same host machine? That would explain why the port 1883 was already blocked. Or there was a problem with the shutdown of one of your previous Eclipse Leda instances which caused the port to still be in use.
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:
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'
The text was updated successfully, but these errors were encountered: