I have an App on Windows which can connect to local ports only as follows:
127.0.0.1:30002
127.0.0.1:30003
127.0.0.1:30005
The App is NOT capable to connect to these ports available on dump1090-fa running on RPi on the same LAN.
I solved this problem by creating Port-Proxy on Windows 11 by following method:
(1) Start Windows PowerShell as Administrator
(2) Issue following commands in Power Shell to create the Port-Proxies:
Note: the local IP192.168.12.23 used in these commands is the Local IP of my RPi running dump10190-fa. Please change this to Local IP of your RPi
(2.1) To create proxy of port 30002
netsh interface portproxy add v4tov4 listenport=30002 listenaddress=0.0.0.0 connectport=30002 connectaddress=192.168.12.23
(2.2) To create proxy of port 30003
netsh interface portproxy add v4tov4 listenport=30003 listenaddress=0.0.0.0 connectport=30003 connectaddress=192.168.12.23
(2.3) To create proxy of port 30005
netsh interface portproxy add v4tov4 listenport=30005 listenaddress=0.0.0.0 connectport=30005 connectaddress=192.168.12.23
(3) To check Status:
Issue following command in Windows Power Shell
netsh interface portproxy show all
(4) Removing / uninstalling the port proxies:
The Port-Proxies created by above netsh commands are persistent, and do NOT disappear on reboot of Windows Computer.
If at any time you want to permanently remove / uninstall these proxies, use following command in Windows Power Shell (run as Administrator).
(4.1) To clear ALL proxies with one command:
netsh interface portproxy reset
(4.2) To remove one proxy at a time:
netsh interface portproxy delete v4tov4 listenport=30002 listenaddress=0.0.0.0
netsh interface portproxy delete v4tov4 listenport=30003 listenaddress=0.0.0.0
netsh interface portproxy delete v4tov4 listenport=30005 listenaddress=0.0.0.0

