HomeGenie Forum

General Category => Troubleshooting and Support => Topic started by: Johnny H on March 07, 2014, 02:12:28 AM

Title: Trouble running on HomeGenie_Mac
Post by: Johnny H on March 07, 2014, 02:12:28 AM
Hi,

I am trying to run/compile the code on my MAC 10.8.5 via xamarin studio and it seems the web server fails to bind: homegenieserver() "Http port bind failed"

i just cant figure out why this is.
any insight appreciated.

Thanks,
Johnny
Title: Re: Trouble running on HomeGenie_Mac
Post by: Gene on March 07, 2014, 02:23:51 AM
Try running Xamarin Studio with sudo.
 
Title: Re: Trouble running on HomeGenie_Mac
Post by: Johnny H on March 08, 2014, 01:05:28 AM
Tried that... still failed.

i step debugged a little further at this statement:
            migService.ConfigureWebGateway(port, 443, Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "html"), "/hg/html", systemConfiguration.HomeGenie.UserPassword);

Fails At:
MigService.cs StartService()

catch exception()
ErrorCode   10013   int
Message   "Access denied"   string
SocketErrorCode   AccessDenied   System.Net.Sockets.SocketError

i did some google'n and found this:
http://forums.xamarin.com/discussion/8870/mac-os-x-wcf-tcpbinding-problem

not sure if this makes sense or is application, its the same error number attempting to open a port...


thanks,
Johnny