I am a developer and have installed dnn locally multiple times and up to a couple of weeks ago everything was working fine. Earlier this week I needed to debug a module of hours, something I've done many times before, and when I tried to bring up the dnndev.me site I got the error "This site can't be reached...dnndev.me refused to connect". Unfortunately I don't know what may have changed in my laptop over the last couple of weeks that might be causing this. Here's what I've tried so far with no success:
At this point I should be able to browse to dnndev.me and get the DNN setup screen but instead I get the error I mentioned.
I've run out of options and cannot find anything online that is similar. Does anyone have any suggested on what I can try before I have to replace this laptop? Thanks Pablo
I already answered that here: iis - dnndev.me giving "This site can’t be reached. dnndev.me refused to connect." error - Stack Overflow
Does it help?
Happy DNNing! Michael
Michael TobischDNN★MVP
Hi Michael,
Thanks for the reply. I saw you're reply in Stackoverflow and responded. In short I'm familiar with the virtual drive issue for the DesktopModules folder but that is not the case here. None of the folders are marked as virtual drive nor as applications.
Hi Pablo, I have experienced something similar one time when I was fiddling with the language settings in DNN - even though I reverted the settings I applied during 'the test' I could no longer get the site to respond without having to append '/en-us' to the path (default language - will be need to be matched to your regional language setting if you have changed it from default) It is not on your list of trials-and-errors - so perhaps you could give that a try?
My first guess would also have been the virtual directory issue as Michael described - that happens every now and then during development ;-) #DnnBro
DNNBro, thanks for the suggestion...I tried it but it didn't work for me. I'm not sure what else I can try.
UPDATE:
Ok...I won't say I figured it out but I was able to bring the DNN Setup page up. Here's what I did.
I noticed/remembered that the default website that IIS installs which it names "Default Web Site" is installed in the root "wwwroot" folder and that it worked fine. Yet the DNN sites created under it do not.
So I then tried creating a simple 1 page website in a "testsite" folder in wwwroot and it also did not work. Same error.
So on a whim I copied all the files from the dnndev.me folder into the wwwroot folder and gave permissions to the IIS_IUSRS account and I was able to bring up the DNN Setup page by browsing the "Default Web Site" or localhost!?
So it seems to be a permissions issue? Or IIS issue? But one I've never heard of.
What is even stranger is that I then created a dnndev.me web site with the dnndev.me app pool, gave the folder the dnndev.me app pool permissions etc. and pointed it to the root wwwroot folder...but if I browse to it using the dnndev.me URL it does not come up but gives me the "This site can’t be reached dnndev.me refused to connect."!!!???
But if I browse to it using "localhost" or click the browse link for the default website the dnn setup page comes up?!
So to put it mildly I have no idea what is going on...I was going to mark my question as answered with this information but I realized that I do not know why it works in wwwroot but not in the dnndev.me subfolder or any subfolder. Nor is it a viable solution.
I'm hoping that with this additional information someone might recognize what is going on?
Hi Joe, I get the expected 127.0.0.1 reply
Have you tried setting up a site using nvQuickSite? This makes a lot of the setup work (even permissions), but I only recommend it for testing environments and not for production sites.
I normally do it this way:
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.