File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3434 */
3535Influxdb::Influxdb (String host, uint16_t port) {
3636 if (port == 443 ) {
37- // this happens usualy when influxdb is behind fw/proxy. Mostly, when influxdb is switched to https, the port remains the same (8086/9999 )
37+ // this happens usualy when influxdb is behind fw/proxy. Mostly, when influxdb is switched to https, the port remains the same (8086)
3838 // port number shouldn't be qualificator for secure connection, either scheme or a flag
3939 _serverUrl = " https://" ;
4040 } else {
@@ -71,7 +71,7 @@ void Influxdb::setBucket(String bucket) {
7171
7272/* *
7373 * Set the influxDB port.
74- * @param port v1.x uses 8086, v2 uses 9999
74+ * @param port both v1.x and v3 use 8086
7575 */
7676void Influxdb::setPort (uint16_t port){
7777 int b = _serverUrl.indexOf (" :" ,5 );
You can’t perform that action at this time.
0 commit comments