Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF with SSL- not finding localhost
    primarykey
    data
    text
    <p>I'm trying to get WCF to use SSL with ANYTHING for FIVE DAYS now. I've gone through countless walkthroughs, generated more certificates than a mail order diploma company, even tried hot fixes. After working with MS dev tools since VB1, I am now considering flipping burgers as a career option. WCF, as far as I can see, is a complete lemon.</p> <p>Anyway, to get to my actual question: If I run through this walkthrough: </p> <p><a href="http://msdn.microsoft.com/en-us/library/ff648840.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/ff648840.aspx</a></p> <p>I get to step 11 (adding the service reference) and get "<b>There was an error downloading metadata from the address. Please verify that you have entered a valid address</b>".</p> <p>Details of the error gives: There was an error downloading '<a href="https://localhost/SSL6/Service.svc" rel="nofollow noreferrer">https://localhost/SSL6/Service.svc</a>'. <b>Unable to connect to the remote server</b> No connection could be made because the target machine actively refused it 127.0.0.1:443</p> <p>I'm using VS2008 on Windows 7 with IIS7. I followed the walkthrough exactly (apart from step 5 which was different on IIS7- I went into "SSL Settings" for the VD), so it shows my config (yes I've used httpsGetEnabled and mexHttpsBinding).</p> <p>Anyone care to save my sanity and job?</p> <hr> <p><b>EDIT</b>: If I go into IIS, select the VD in content view, right-click on the svc file and browse, I get "Internet Explorer cannot display the webpage". Chrome gives "Google Chrome could not connect to localhost".</p> <p>IE troubleshooting gives "the remote device or resource won't accept the connection".</p> <p>If I browse using the IP address rather than using localhost via http, it says that it's secured with https ok. If I browse using the IP and https, I get HTTP error 503. The service is unavailable.</p> <p>So it looks to me like a DNS issue combined with... something. When I try to just run the service site project, I get "Unable to start debugging on the web server. Unable to connect to the web server. Verify that the web server is running and that incoming HTTP requests are not blocked by a firewall". I've checked the firewall and it's ok.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload