• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

application using IP from wrong network interface

 
Ranch Hand
Posts: 332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I downloaded java application (SIP Communicator - SIP soft phone) for Windows XP. This application seems to be trying to get local IP address of some interface, which is later used in SIP INVITE messages in "Via" header. I have multiple network interfaces installed on my pc, e.g. vmware, pcmcia, and this seems to be problem, because it chooses wrong network interface.

Is there any way how can I enforce my local IP address, or which network interface to use? Some property, which I can set, or some settings I can change? So far my only solution was to disable all interfaces, except the one I wanted to use. Also control panel->network connections->advanced->advanced settings doesn't have any influence.

Thank you for any hints.
 
Marshal
Posts: 76055
362
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't know, but I don't think that is a beginner's question. I think it has to do with Windows, so I shall try moving you to the general computing forum.
 
John Stone
Ranch Hand
Posts: 332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe it is Java related, because you would face the same problem on any machine/OS with multiple interfaces. My guess is, there is something similiar like there is java.rmi.XXX to specify your address if you are behind a NAT.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic