That's quite a number of networks that we would know nothing about.
Does outbound network traffic work? That is, are you able to ping other machines on your network? Are you able to browse web sites or connect to SSH on those machines?
Start by verifying that you have configured the applications to listen on any IP address. That's the "0.0.0.0" in the netstat output. Here I have IIS installed and the SYSTEM process, pid 4, is listening on it's behalf on port 80. For Python you may see a different pid number for it's exe like pid 9236.
C:\>netstat -aon | findstr -i listen
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1640
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:902 0.0.0.0:0 LISTENING 6948
TCP 0.0.0.0:912 0.0.0.0:0 LISTENING 6948
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:5040 0.0.0.0:0 LISTENING 9236
If you don't have 0.0.0.0, then run ipconfig and verify that the LISTENING process is using the correct IP address.
Then run wf.msc. Click on "Windows Defender Firewall Properties". Change the "Firewall State" to off for all 3 profiles.
Find another machine that is on the same network subnet that you were able to ping or browse or SSH to. On that machine open a powershell prompt and use Test_Netconnection with the IP address to see if it can connect.
Test-NetConnection -ComputerName nnn.nnn.nnn.nnn -port 80