Thank you very much..!
The code is working fine.
I should've guessed it. I believe that port 80 is for HTTP. right?
I found the program from the book
"The Complete Reference -
Java 2 [5th Edition]" By Patrick Naughton and Herbert Schildt.
No. It does not refer any site where we can see the error data.
Once Again,
Thank you for your help and suggestions.