Push server send request to app server not on the right port

Hello,
Push server want to connect app server on port 80 but the apache service running on the app server is listening on port 8080…

I run the following command:
sudo docker-compose exec app sh -c ‘php occ notify_push:setup https://${OVERWRITEHOST}/push’

I receive this error:
push server can’t connect to the Nextcloud server
error sending request for url (http://app/index.php/apps/notify_push/test/cookie): error trying to connect: tcp connect error: Connection refused (os error 111)

How can I change this port?
Thanks

hi @Oneel welcome to the forum :handshake:

did you try

but I wonder if you really run https:// on port 443. ${OVERWRITEHOST} sounds like you have reverse proxy in place…This is a reason why you must not ignore required support template. please edit you post and add details. post you docker-compose and docker compose and application logs.

Thanks for your reply.

I’ve followed your great post: Nextcloud docker-compose setup with notify_push (2024)

My bad, I realized that I have to adapt the compose file to fit my need:

So this problem is solved but I still have issues with the cron container which restart continuously. I will open another thread.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.