File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Subnet and Java 6 Webservice (Please help) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Subnet and Java 6 Webservice (Please help)" Watch "Subnet and Java 6 Webservice (Please help)" New topic
Author

Subnet and Java 6 Webservice (Please help)

Bernhard Watson
Greenhorn

Joined: Dec 23, 2009
Posts: 1
I have a Java 6 Webservice in production which is running on a server which has two network cards. Each of this network cards has a different IP address(subnet):

Card 1: 192.168.1.46
Card 2: 192.168.2.46

The WSDL file of this webservice is accessible by the following link:
http://192.168.1.46:33000/Webservice?wsdl

My Problem is that this link works only on PC's which are in subnet of Card 1 (192.168.1.*), but a telnet command to the port 33000 works from both subnets. So basically the PC and the webservice can be reached, but the webservice doesn't allow connections from the other subnet.
Is there any automatic IP restriction within the Java webservice or do I need a routing?

Please help!
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Which OS are you using?
Have you tried creating a bridge between the two network cards?
Best wishes!
 
wood burning stoves
 
subject: Subnet and Java 6 Webservice (Please help)