Good day Tharun. R, thanks for your question. I am glad to be able to provide assistance to you today. If you are able to locate and access the Minecraft folder then you can check the servers.json file as this is the one that has this information and from there you can open it with a notepad editior and then look for the details in there specifically if you remember anything with the name that you associated with the server.
Regards,
Paul R.