Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Abnormal server socket condition  RSS feed

bandlapalli reddy
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got the bello error
Abnormal server socket No available certificate corresponds to the SSL cipher suites which are enabled.
* @author leelananda
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
public class SecureServer {

SSLServerSocket ssocket;
SSLSocket clientSocket;
DataInputStream input;
public SecureServer() {
try {
SSLServerSocketFactory sslSrvFact =

ssocket = (SSLServerSocket)sslSrvFact.createServerSocket(8123);
System.out.println("Port Allocketed for Socket");
clientSocket = (SSLSocket)ssocket.accept() ; // accept 1 client.
System.out.println("Allocated new server");
while(true) {
System.out.println("Abnormal server socket condition: 00000");
input = new DataInputStream( clientSocket.getInputStream() );
System.out.println("Abnormal server socket condition:111 ");
String s = new String( input.readLine() );
} catch(IOException e) {
System.out.println("Abnormal server socket condition: "+ e );
public static void main(String[] args) {
new SecureServer();
can any please rectify my problem
thank you & Regards
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!