Skip to main content
johnroccaforte
Inspiring
November 5, 2015
Answered

Cannot Access CF11 Developer except from the CF Server

  • November 5, 2015
  • 3 replies
  • 894 views

I just installed ColdFusion 11 Developer on a Windows 7 system.  I am using the internal web server.  I can access CF apps from the server using http://127.0.0.1:8500/CFIDE/passme/hello.cfm, but when I attempt to access CF from my laptop, I get "Cannot locate internet server.  I have attempted to access the server using its real IP but also fail.

    This topic has been closed for replies.
    Correct answer johnroccaforte

    It turned out to be a firewall issue. CF support assisted me yesterday and I’m up.

    Thanks for the help.

    3 replies

    Charlie Arehart
    Community Expert
    Community Expert
    November 7, 2015

    John, besides what the others have said, if you WILL be leaving your code in the CF wwwroot, and WILL be trying to access it from off the server using that port, then you will likely need to open that port in your firewall to be accessible off the server. I suspect THAT is why it's not working for now. Ports other than 80 are typically blocked by default for remote access on all machines.

    But as BKBK said, you don't really want to put your code in the CF wwwroot anyway, typically (which requires you to use that built-in web server port). And there are still other security reasons it's best not to open that built-in web server port anyway.

    So really, you'd typically use some other web server on the serve (IIS, Apache, nginx), and define a web site there pointing to the code, and then configure that site to pass requests to CF. (That may have been done initially in the installer, but since you show using the built-in web server, I suspect you did not choose that option.) After installation, you can connect a site in an external web server to CF using the CF web server configuration tool.

    Let us know if this helps.

    /Charlie (troubleshooter, carehart. org)
    johnroccaforte
    Inspiring
    November 5, 2015

    This works on the server, but not from my laptop. Since I'm getting a generic error and not a CF error, it appears that the laptop is not  to be finding ColdFusion at all

    Legend
    November 6, 2015

    Hello,

    What URL are you using on your laptop?

    Regards, Carl.

    johnroccaforte
    Inspiring
    November 6, 2015

    I have tried:

    127.0.0.1/cfide/passme/hello.cfm

    127.0.0.1:8500/cfide/passme/hello.cfm

    BKBK
    Community Expert
    Community Expert
    November 5, 2015

    johnroccaforte wrote:

    I can access CF apps from the server using http://127.0.0.1:8500/CFIDE/passme/hello.cfm

    CFIDE is a system directory. You shouldn't develop custom code withn it.

    Place your custom code in the root directory, C:\ColdFusion11\cfusion\wwwroot. For example, create the directory C:\ColdFusion11\cfusion\wwwroot\passme\ and copy your hello.cfm file into it. Then open this in a browser

    http://127.0.0.1:8500/passme/hello.cfm