Unable to connect to my database via driver but Neo4j Browser was able to

Hi. I encountered a problem in which the Python driver was unable to connect to my remote database; however, I was able to successfully connect with the Neo4j Browser and Neo4j Commander and using the url: bolt+s://abc.example.com:2083. I am using Cloudflare SSL and the database is deployed on an AWS EC2 instance.

Below is the error message I got when I try to connect with the url bolt+s://abc.example.com:2083:

Failed to establish connection to IPv6Address(('XXXX:XXXX:XXXX::XXXX:2df6', 2083, 0, 0)) (reason [Errno 101] Network is unreachable)

Below is the error message I got when I try to connect with the url neo4j+s://abc.example.com:2083:

ServiceUnavailable: Unable to retrieve routing information

Update: I just realized my EC2 instance doesn't list an IPv6Address -- would assigning an IPv6 address to it be a solution?

Update 2: Why is the driver trying to connect to an IPv6Address and not IPv4?

Which version of the driver are you using?

Perhaps something about the advertised addresses of the server?