iOS cURL commands only work on WiFi - iOS

105 Views Asked by At

I have a strange issue with cURL on a jailbroken iPhone (iOS 10). It works fine when I'm on WiFi but when I switch to my carrier, I get an error. For example, curl google.com produces:

curl: (7) Failed to connect to 172.217.4.46: Network is unreachable

I was able to use cURL before without issue on 10.2 (recently used Cydia Eraser to start fresh). Does anyone have any idea how to fix this?

0

There are 0 best solutions below