Skip to content

getOutboundAddress returns 0.0.0.0 #4

@judos

Description

@judos

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions