aspose file tools*
The moose likes Distributed Java and the fly likes Where is Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Where is "network: Connecting socket://10.40.12.238:17103 with proxy=DIRECT" printing from" Watch "Where is "network: Connecting socket://10.40.12.238:17103 with proxy=DIRECT" printing from" New topic
Author

Where is "network: Connecting socket://10.40.12.238:17103 with proxy=DIRECT" printing from

chandan talukdar
Greenhorn

Joined: Feb 02, 2009
Posts: 5
Hi All,

In my java based client application, I am seeing the following lines printing on the java console.

network: Connecting socket://10.40.12.238:17103 with proxy=DIRECT

Can anyone tell me from where these lines are coming from.

Thanks in advance
Chandan
Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1220
    
    1

Which type of java client are you using ? REST based , JAX WS based ?
I have normally seen this kind of URL when Java Applets try to download some file.
Please provide some more details around type of client, what kind of operation are you performing ?
~ abhay

Oracle Java Web Service Developer (1z0-897), Oracle certified Java 7 Programmer, SCJA 1.0, SCJP 5.0, SCWCD 5.0, Oracle SQL Fundamentals I, CIW Certified Ecommerce specialist
chandan talukdar
Greenhorn

Joined: Feb 02, 2009
Posts: 5
Thnaks Abhay for the quick reply.

Here, I am using an RMI based java client which will connect to a remote server. The client reads the hostname and port from a configurable file and connects to the remote server. But, while connecting, the client application is trying to connect to the physical IP address rather than the virtual host name and this is causing some issues in the production environment. I came to know about it after seeing the following messages in the java console.

network: Connecting socket://10.40.12.238:17103 with proxy=DIRECT

Hence, I am trying to find out from which java library, these lines are coming. I have downloaded the JDK source code, but could not find such statements.

Best Regards
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

But, while connecting, the client application is trying to connect to the physical IP address rather than the virtual host name


What does the code in the client application look like? The one which is doing the connection.


[My Blog] [JavaRanch Journal]
Abhay Agarwal
Ranch Hand

Joined: Feb 29, 2008
Posts: 1220
    
    1

I am trying to find out from which java library, these lines are coming

Probably from Java Socket API
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where is "network: Connecting socket://10.40.12.238:17103 with proxy=DIRECT" printing from