wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Subnet and Java 6 Webservice (Please help)
 
Similar Threads
What approach should be taken
Two network cards on linux
my understanding about subnet?
After creating WSDL-to-JAVA what i need to do in RAD IDE?
Accessing the Subnet Mask