Hi Midhun,
Thanks for the quick response. I have met the prerequisite as per your blog but still getting the same error "Check your connection data".
Please see screenshot of code being used to register the user. index,js file is used to read SMP server details from project.json. See below
I have also attached the console log error details when register button is clicked.