Can't register the client

Hey guys,

I tried to install PMM2 with these configs:
- PMM server: On my MacOS (w/ Docker)
- PMM Client: My MySQL server (CentOS)
- Using DDNS (No-IP) to connect between client and server 

Here some commands I used to register and errors:

Via HTTPS

pmm-admin config --server-insecure-tls --server-url=https://admin:Pa$$word@abc.ddns.net:8443 

Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: Post "https://kalh.ddns.net:8443/v1/management/Node/Register": dial tcp 116.109.37.80:8443: connect: connection refused.

Via HTTP:

pmm-admin config --server-insecure-tls --server-url=http://admin:Pa$$word@abc.ddns.net:8080
Warning: PMM Server requires TLS communications with client.
Checking local pmm-agent status...
pmm-agent is running.
Registering pmm-agent on PMM Server...
Failed to register pmm-agent on PMM Server: response from nginx: <HEAD><TITLE>501 Not Implemented</TITLE></HEAD>
<BODY><H1>501 Not Implemented</H1>
We are sorry to be unable to perform the method POST to non-script at this time.<P>
If you would like to see this capability in future
releases, send the method which failed, why you
would like to have it, and the server version DrayWeb/0.0.2
to <ADDRESS>http://www.draytek.com/</ADDRESS><P>
</body>
</html>
HTTP/1.0 302 Found
Pragma: no-cache
Location: /v2000/v1/management/Node/Register
Content-type: text/html

<html>
<head>
<title>302 Document moved</title>
</head>
<body>

This document has moved <A HREF="/v2000/v1/management/Node/Register">here</A>.<P>
</body>
</html>
HTTP/1.0 404 Not Found !!!
Pragma: no-cache
Content-type: text/html
<html>
<head>
<title>404 Not Found !!!</title>
</head>
<body>

<div align="center"><center>
<table border="1" cellspacing="0" width="100%">
<tr>
<td width="100%" bgcolor="#0000A0">
<p align="center"><font color="#FFFFFF" face="Arial">
<strong>404 Not Found !!!</strong></font></td>
</tr>
<tr>
<td width="100%" bgcolor="#F3F3F3" bordercolor="#000080" bordercolordark="#000080">
<p align="center"><font face="Times New Romain" color="#000000">
<strong>The requested URL was not found on this server.</strong></font></td>
</tr>
</table>
</body>
</html>
.
Please check pmm-managed logs.

Please tell me what should I do?
Thanks and best regards

Never mind!

I didn’t open an outgoing port on the MySQL server. How stupid I am