weupnp icon indicating copy to clipboard operation
weupnp copied to clipboard

getOutboundAddress returns 0.0.0.0

Open judos opened this issue 12 years ago • 0 comments

What steps will reproduce the problem? (pretty unsure, here's what I did: )

  1. copy the classes into a new project, changed package name
  2. execute main

What is the expected output? What do you see instead? "Mapping SUCCESSFUL. Waiting "... The above line is not in the console since "if (activeGW.addPortMapping(SAMPLE_PORT, SAMPLE_PORT,localAddress.getHostAddress(), "TCP", "test")) {" in Main returns false.

What version of the product are you using? On what operating system? "bitletorg-weupnp-weupnp-0.1.2-2-ge3770a1.zip"

Please provide any additional information below. the getOutboundAddress returns the address wrongly (0.0.0.0). I'm not sure why it doesn't work. Is there maybe a workaround to get the ip?

Operation system: Win7 Professional Router: Netopia Model: 3347NWG Software Version: 7.5.0 contact: judos (the sign you use in email adresses) gmx (dot) ch

Thanks for your help!

judos avatar Sep 24 '13 08:09 judos