Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Subnet and Java 6 Webservice (Please help)

 
Bernhard Watson
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Which OS are you using?
Have you tried creating a bridge between the two network cards?
Best wishes!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic