[outputs.influxdb_v2] When writing to https://url: failed to write metric to bucket (401 Unauthorized): unauthorized: unauthorized access

I changed the port from 8086 to 443 with ssl enabled. I can’t get telegraf to work with the port change all other services are working fine. Anyone have any ideas