From 03c2ae1bd855d16c947f185999a2852d8b2c83e3 Mon Sep 17 00:00:00 2001 From: Mario Gonzalez Date: Tue, 7 Mar 2023 16:50:02 -0300 Subject: [PATCH] Connecting to default pg-backup-api port: 7480/TCP --- pgbackupapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgbackupapi.c b/pgbackupapi.c index 3b40d34a..cb648956 100644 --- a/pgbackupapi.c +++ b/pgbackupapi.c @@ -50,7 +50,7 @@ size_t receive_operations_cb(void *content, size_t size, size_t nmemb, char *buf } char * define_base_url(operation_task *task) { - char *format = "http://%s:80/servers/%s/operations"; + char *format = "http://%s:7480/servers/%s/operations"; char *url = malloc(MAX_BUFFER_LENGTH); snprintf(url, MAX_BUFFER_LENGTH-1, format, task->host, task->node_name);