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

Touch.Server not supporting multiple network cards on the Mac #16

Open
donnib opened this issue Jul 3, 2014 · 0 comments
Open

Touch.Server not supporting multiple network cards on the Mac #16

donnib opened this issue Jul 3, 2014 · 0 comments

Comments

@donnib
Copy link

donnib commented Jul 3, 2014

Hi,
I have tried to specify --ip myipaddress where myipaddress is a WiFi network address of the Wifi network where the Device is connected to. This still yields tha the server is listening on 0.0.0.0 which indicates the address i specified is not in use.

Besides above when the application runs following code line :

var ipAddresses = System.Net.Dns.GetHostEntry (System.Net.Dns.GetHostName ()).AddressList;

AddressList will only return one ip address which is not correct since i have two networks which means two ip address. What i would expect was that when i specify --ip option then that ip should also be sent to the client so it can connect to the server because that is the same ip.

Another solution to the same problem could be to add an option to specify which network card like "et0" then the code should figure out which ip address that network uses.

For the moment i have hardcoded the ip which is short lived so i have to find a better solution for this.

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

1 participant