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

Cannot connect in tunneling #40

Open
PSausM opened this issue May 29, 2018 · 1 comment
Open

Cannot connect in tunneling #40

PSausM opened this issue May 29, 2018 · 1 comment

Comments

@PSausM
Copy link

PSausM commented May 29, 2018

I don't know what I am doing wrong. I cloned your project and tried the test project with the tunneling. I changed the IP to the IP of my KNX/IP Gateway and port 3671. The same as ETS is using.
I get a notification from the firewall, when I start the application and I accept the firewall rule.
But the app hangs when I try to call an Action to switch light on and off. It just hangs foreever. No exception. Nothing. It does not return from the function.

@abelsilva
Copy link
Member

Disable the firewall to test, IP Tunneling needs 2 connections, one each way
the IP Interface will try to connect back to your PC, if the firewall is blocking the connection won't be established

If it works, you can add the exception to the firewall on the advanced properties of the windows firewall, you will have to choose the port you want the IP interface to connect back to your system

You can define the port KNX.net will listen

public KnxConnectionTunneling(string remoteIpAddress, int remotePort, string localIpAddress, int localPort)

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

2 participants