Specified ip being ignored by Forms GUI started with Aurguments

Jul 28, 2012 at 9:36 AM
Edited Jul 28, 2012 at 9:38 AM

Good day.

I am using the following code to start the Form GUI server. But the site always starts on 127.0.0.1/localhost.

 

string projectPath = Environment.CurrentDirectory;
string webContentPath = System.IO.Path.Combine(Environment.CurrentDirectory, "WebContent");

string[] args = { "\"/a:" + webContentPath + "\"", "/ip:192.168.10.4", "/ipMode:Specific", "/pm:Specific", "/p:8080" };
System.Diagnostics.Process.Start(System.IO.Path.Combine(projectPath, "CassiniDev.exe"), String.Join(" ", args));

 

If I use the same code, but replace "CassiniDev.exe" with "CassiniDev-console.exe" the site is started on 192.168.10.4:8080. Which is expected. But CassiniDev.exe starts the site on 127.0.0.1:8080. It looks like CassiniDev.exe is ignoring the /ip argument...

Am I missing something? 

Coordinator
Aug 12, 2012 at 6:14 AM

I will give this some attention and reply here.

Coordinator
Aug 12, 2012 at 7:46 AM

indeed - there was a reversion, likely from a patch, that caused the program to ignore MOST of the arguments.  this has been fixed in the source and will be published soon.

 

thank you.