Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not finding any PortMappers #35

Open
minecreatr opened this issue May 31, 2017 · 6 comments
Open

Not finding any PortMappers #35

minecreatr opened this issue May 31, 2017 · 6 comments

Comments

@minecreatr
Copy link

Hello. I was trying to use this library to setup some port forwarding, but I found out that that PortMapperFactory.discover is not returning any PortMappers. I dont know if that is just something about the network I am on, or a problem with the library, but I wanted to ask just in case.

Here is the log https://gist.github.com/minecreatr/def8b7c6362a4d12740521805acc2371 .

My code is the same as your example, as I just wanted to check if it was working first.

Thank you`

@offbynull
Copy link
Owner

offbynull commented May 31, 2017 via email

@adam-law
Copy link

adam-law commented Jun 1, 2017

Hi again,

I understand that you closed my previous ticket, and I'm sorry for being late on this. Since this issue is the same as mine, I'll post my logs here: https://gist.github.com/adam-law/f219ddecf7ca9ffc749463a219d98fb9

I had time to trace through the source, and as far as I can tell, while the correct service descriptor for the router was collected, the accompanying collection of identified services, was empty. While running through its processes, PortMapper was able to open a (random?) port on the router, though no mapper was added to the identification list.

As for your question about the jar drop-in, I got it through maven, & I believe all the dependencies exist within our project already.

Thanks :)

Edit: On 2nd thought, I'm not sure if PM got the correct descriptor, after all. Looking at the log, I see it identify the Roku device, which is being used as a booster in another part of this building. I'm hooked up by ethernet to a Netgear router, so I'm wondering why I'm not seeing it on the logs.

@offbynull
Copy link
Owner

What's the name of the network interface the Netgear router is attached to. What's the IP of that network interface?

@adam-law
Copy link

adam-law commented Jun 7, 2017

Just the default. From ipconfig: Ethernet Ethernet Adapter 192.168.0.5

@InzeNL
Copy link

InzeNL commented Nov 17, 2021

@offbynull I am experiencing this same issue. UPnP is definitely available (I tested with weupnp), so it find at least one mapper

@offbynull
Copy link
Owner

offbynull commented Nov 17, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants