I'm trying to enable SSL in IIS 7 on my dev machine using a self signed cert. This is turning out to be quite frustrating.
I have followed THIS guide and several others that are almost identical. The configuration goes ok, but when I try and navigate to the website I get various errors.
http://localhost/index.htm - Results in HTTP Error 404 - Not Found.
https://localhost/index.htm - Results in Internet Explorer cannot display the webpage.
If I go into IIS and remove the https binding from the website then it works as expected (in http only obviously).
I'm gussing that there is something that needs to be set up / configured / installed in windows before this will work?
Thanks.
You shouldn't need to reboot, it looks like IIS is not responding for some reason. Do you have Skype installed by any chance? It is unfortunately one of the most common reasons we see issues with ports.
So do this:
Open IIS Manager, and select the server
Click in the Sites page and make sure Default Web Site is Started.
If it is not running click Start
Also to troubleshoot in case it is a port issue:
OPen an elevated command prompt and type
netstat -ano
Search in there for something like 0.0.0.0:80 and :443
You will be able to see the Process ID (PID) that i using that port.
Also to troubleshoot SSL, you can run in the same command prompt "netsh http show sslcert" and you should see in there the certificate you assigned.
Related
I'm trying to install Sense/NET on my Computer for demo purposes. I managed to install the Demo (Community Edition) Version on Port 80 as i followed the instructions on their WIKI Page
but when i tried to install another copy of Sense/NET (regardless of being a Demo/Community/Evaluation Edition) i kept getting this Blank /IISConfig/Config.aspx Page.
I am running on Windows 8.1 and IIS 8.x
if i am mistaken in any configurations please let me know and help me.
For SenseNet to work properly you have to register the url in two places:
in IIS Manager, on the IIS site you created
In SenseNet Content Explorer (the admin GUI), on the site content's Edit page.
So it is absolutely OK to have any number of urls with different port numbers, the localhost:80 above is just an example in the wiki.
How to change url and authentication settings
As Miklós've written Port 80 is only an example, there is no limitations on port numbers. You can configure any other port you like as long the IIS setting is corresponds the SenseNet site content's "URL list" configurations.
I assume default install goes with port 80, so if you've installed an other copy of SenseNet you should edit manually the second portal's ports in the IIS and in SN too. You can either edit the latter through the Edit page "URL List" field of the site content (eg. /Root/Sites/Default_Site) in SenseNet Content Explorer or set it in the web configuration file's "urllist" section.
Try to user your port using like this:
localhost:80 or any port you configured
Hope it help
EDIT: According to their WIKI (again)
First of all, check the port number: it should be set to '80'.
it is just strange as it seem that it must be under Port 80 and Port 80 only. is there any walk-through such limitations ?. like for example, another web app is also running along Port 80 and Port 80 alone ?. can this be achievable via web.config or iis ?
if not, there technically there is nothing we can do. The least is to mark my own post as the answer.
In short, I can create a new MAMP Pro 3 host with success and then download and install Wordpress 4.0 via MAMP Pro's "Extra's" feature also seemingly with success (no errors, ) ...yet it doesn't turn out that way as the browser says, "Error code: ERR_CONNECTION_REFUSED".
Full Details: Hi, I've just installed MAMP Pro for the first time on Mac OS 10.9.5 with all the default settings, the WebStart page loaded in the browser, php looks to be running fine. The problem I'm having occurs when running a preliminary test of MAMP by trying the Extras feature and installing Wordpress 4.0. I get no indication that anything went wrong with the default install yet clicking the button next to the Server Name "Open the hosts web page in a browser"... I am greeted with an error in Google Chrome, Firefox, Safari, etc....
"This webpage is not available. Google Chrome's connection attempt to was rejected. Error code: ERR_CONNECTION_REFUSED
Google Chrome's connection attempt to testwpextra.dev was rejected. The website may be down, or your network may not be properly configured.
Check your Internet connection
Allow Chrome to access the network in your firewall or antivirus settings.
Check your proxy settings
"
I'm not using a proxy, I am running apache as my local user and have confirmed the document root is owned by the same user (with read/write permissions), I turned off firewall/littlesnitch just to be sure, same result in various browsers.
I read some fella saying something about setting up his host with IPv6 but I'm using the MAMP control panel to manage the process for me and don't see settings of that nature. Maybe this is done via the Extended tab with directory or VirtualHost parameters, I don't know... wish I did. Please help! Thanks!
I solved my problem by changing MAMPs ports from the default 8888 etc... to 80,443,3306 (on MAMPs General tab). Now all my includes are broken because MAMP doesn't allow "php_value" in htaccess files...one step at a time i guess. =]
there must be a load of questions on this but I cant get it working. I have a asp.net app running locally hosted within iis (windows 8/ version 6.2) which I can browse locally. Example below, and it works without a problem.
http://localhost:1234
I'm trying to browse this site from a windows virtual machine using remote desktop and then launching the browser on the client machine. Unfortunately this display "Internet Explorer cannot display the webpage"
any ideas why I cant get through on a remote desktop? The client has internet access obviously and I can ping the other machine (both ways). Is there an IIS or firewall setting I can configure. The firewall on the dev box (i.e. the web server in this situation) has a firewall switched on. When I turn it off I still get the same error message.
My iis authenication settings are shown below (for my website, not for the 'Default Web Site'):
On the client machine, I'm using the following:
http://12.34.56.78:1234
Thanks,
James
Try using https: instead of http: and also to access the website from other PC, you need to enable your Anonymous Authentication. And you also need to Enable the Directory Browsing from IIS settings of website.
Can you ping the ip? Disable the firewall on both machines and try.
Let me know
I added the following entries in the HOSTS file.
127.0.0.1 abc.localhost.com
127.0.0.1 xyz.localhost.com
Using the VS2010 ASP.NET Development server I am unable to run or execute the website.
When browsing http://localhost:2687/TestProject/ it shows up the default.aspx page. But when accessing http://abc.localhost:2687/TestProject/ it shows a website cannot be found page.
Is there anything else to be done when setting up subdomain on localhost.
EDIT: To make this work I removed the .com and in IE-->Connections-->LAN uncheck everything. Subdomains with port works are correctly getting forwarded. Nothing else need to be configured.
Obvious mistake is that in your hosts file you have abc.localhost.com, whereas you are browsing to http://abc.localhost/folder
Not the same thing.
Not sure this will work as you intend anyhow. I would also recommend IIS Express, part of WebMatrix, which I think is still in beta, or just use IIS. IIS 7+ on Vista, W7, Server 2008 is all really easy to use.
Use IIS or IIS express, rather than Cassini. (For several reasons, which you can google or look for on stackoverflow)
With the IIS you can easily add a hostheader entry to you webapplication with just 2 clicks.
Be aware, that you are assigning both a Url and a port.
So adding abc.localhost won't allow you to browse abc.localhost2687, just the default port (80). If you also want to browse to abc.localhost:2687 you need to a a hostheader entry according to that that Url and port.
This screenshot shows you the dialog to add hostheaders (the picture is from IIS 6, but in IIS 7 or IIS 7.5 it looks very similar)
I’m having difficulties setting up IIS7 to allow the default website to be accessible from machines other then mine. (This is for an .NET application that I’m developing).
IIS7 is installed and running on Windows 7 32bit, most of the configuration is default. I can access the default website (from my machine, where IIS is running) by pointing to localhost, my IP address, or my machine name. (I correctly get the default II7 welcome screen).
I am however unable to access the default welcome screen from other machines on the network. (I get connection timeout error messages).
Note that from these other machines, I can still:
Properly ping my IP Address.
I can also access the default (80) port, if I use something else for hosting (other then IIS).
(Which would indicate that this is not a firewall issue).
Suggestions ? Seems like I have to change some other II7 settings to do this, I’m just not sure what they are.
I’ve also tried editing permissions to give full access to the IIS_IUSRS and IUSR users, but that didn’t fix anything.
I am using Anonymous Authentication.
My Windows 7 firewall is turned off.
This IIS7 log files don't show anything about a remote machine hitting the server.
Ok I figure it out ... Turns out that even though the Windows 7 Action Center explicitly said that the Windows 7 firewall was turned off, it wasn't completly. Turning it off completly fixed the problem.