Hi Sowmya,
Would you please make hostname entry of your Java server in hosts file of your window system as described in the link above. Then again start SDM GUI.
Please follow the directions in this note
783965 - IDE cannot connect to SDM in a different domain.
If this does help please attach your host file.
Regards
Milen