IIS 7 & IIS 8
How Can I configure TCP port for external FastCGI server?
Last post Oct 15, 2012 08:09 AM by fab777
Oct 12, 2012 07:47 PM|LINK
I've built a FastCGI application that works fine for Apache. When I tried to port it for IIS I was unable to found where configure the TCP port used for communication between my APP and IIS Server.
I have no idea if IIS has some kind of option like this, but on apache the equivalent is
FastCGIExternalServer MyAppName -host localhost:2014
Then I just put http://localhost/MyAppName in my browser and everything works well. Unfortunately I was unable to found out how to configure hostname and port number for IIS communicate
with my App....
Can anyone help?
Thanks in advance....
This is the same question of: http://forums.iis.net/t/1156541.aspx
It seems that, surprising, there is not native support for this kind of communication on IIS FastCGI module...
Oct 15, 2012 08:09 AM|LINK
what do you want to do? You want your website in IIS run on the '2014' TCP port? if yes, just run this command:
appcmd.exe set site /site.name:MyAppName /+bindings.[protocol='http',bindingInformation='192.168.0.x:2014:www.MyAppName.com']
Just edit the IP addess and domain name before.