I reset my iPhone and now I am locked out
I upgraded from an iPhone 6 to iPhone 11. When I reset the iPhone 6 to factory settings, it reset but now is asking me for my password. My password on that old phone was a 4-digit password but for some reason the password it is asking for is a 6-digit one, so I have no idea what that could be. I tried restoring it from iTunes on my Mac as is suggested but iTunes doesn't even recognize that a phone is connected to the computer when I connect it. I am locked out of the phone for the next hour for too many failed password attempts, and I don't know what to do next.
iPhone 6s