Failed to connect to the server (Nucleus server on AWS)

Hi there!
I deployed an Nucleus Service on AWS by following this:

It could run successfully but after I did some testing on user account created, it failed to connect to the server.
I tried to reboot the EC2 intances on AWS but it doesn’t help.

What would be the issue?