C
C#2y ago
BlackNet

❔ HttpClient.PostAsync hangs and times out if firewall is turned on

Anyone experienced this? Using this api https://api.imgbb.com. I have 443 and 80 port opened in firewall. Using ufw firewall on arch server btw.
2 Replies
BlackNet
BlackNetOP2y ago
alright, figured it out, httpclient is using ipv6 using DOTNET_SYSTEM_NET_DISABLEIPV6=1 enviroment variable fixed it i guess firewall doesn't like ipv6
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?