Set public to False
when creating the connection, explicitly:
cf = pyrax.connect_to_cloudfiles(region=<REGION>, public=False)
Documentation on connect_to_cloudfiles
:
Creates a client for working with cloud files. The default is to connect to the public URL; if you need to work with the ServiceNet connection, pass False to the 'public' parameter.