Hi,
First check you port numbers as per error, that port is not use.
The port number error_con is not valid.
Also check this sap note
1788188 - Couldn't connect to DB during java install
Then also check this link with same problem, suggestion is replacing the default kernel from DVD with later one.
http://scn.sap.com/thread/1203147
KInd Regards,
Johan