I'm trying to add a custom webhook to a repo in Gitea. The webhook listens to port
8080. The connection gets refused. It doesn't work from that app's terminal either, though from my terminal the call executes just fine.
Is it because of the app's sandboxing? How can I use my webhook?
@yusf Where does this port 8080 come from? Is this some special port that gitea requires?
The app listens in the container on port 3000, so that's the port you should use from the app's terminal. As for outside the terminal you should just
@girish Yes. It's listening on
0.0.0.0:8080and it's on a remote server as well, so
localhostwouldn't work either way.
Also, I don't know what happened but even though all tests failed I kept the webhook setting active and when time came for a real event and not a test event, it actually works:
So, test deliveries don't work but that might be because of how the recieving webhook is set up, I don't know.