Fleet server agent unable to start- Connection refused

Thank you @blaker !
such a noob mistake I did, you are right. The port 9200 is not accessible from the server I was trying to enroll.
Thank you once again.