sockets - Getting java.net.SocketException: Malformed reply from SOCKS server Exception -


itemprop = "text">

getting java.net.SocketException: sock server exception to the following socket . I'm not using any SOCKS server & amp; And this is just a stand-alone program, this is the starting line & amp; The exception is getting here only. I am using the reflection API too. Public static string tcpSend (string IP, int port, integer timeout, string content) {try {clientSocket = new socket (IP, port); .....}

Calling by another method as follows:

  SendReceiveCanMessage.tcpSend ("localhost", 8000, 5000, "Start");   

The folling is complete stacketrace

java.net.SocketException:. Java.net.SocksSocketImpl.readSocksReply on the distorted responses from the SOCKS server (unknown source) at java.net.SocksSocketImpl.connect (unknown source) at java.net.Socket.connect (unknown source) java.net.Socket.connect (unknown Source) on java.net.Socket.Java (unknown source) .net.Socket sun.reflect on SunkreflectkNativeMethodAccessorImplkinvoke0 (Native Method) at com.cognizant.vehiclespy.SendReceiveCanMessage.tcpSend (SendReceiveCanMessage.java:19) Executer.executeTest3_12 (Executer.java:672) on (Unknown Source). on NativeMethodAccessorImpl.invoke sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown source java.lang.reflect.Method.invoke (unknown source) at com.cognizant.controller.SupervisoryControl.execute) (unknown source) (SupervisoryControl. Java: 111) on supervisorycontrol.SupervisoryControlView $ ExecuteThread.run (SupervisoryControlView.java:466)

anywhere you Find the nearest system property 'Socks ProxyHost' is set In and fix it.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -