locked
How Can I configure TCP port for external FastCGI server? RRS feed

  • Question

  • User1847067718 posted

    Hi, All

    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....

    Edit:

    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...

     

     

     

     

     

     

    Friday, October 12, 2012 3:47 PM

Answers

  • User-1499466209 posted

    Hi,

    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. 

     

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, October 15, 2012 4:09 AM