This project has moved and is read-only. For the latest updates, please go here.

ObservableHttpLIstener binding on IPAddress.Any

Aug 19, 2012 at 2:49 AM

Should this be possible?

I keep getting a very esoteric "the request is not supported" error.

Same code using Start with loopback ip works fine 

Aug 22, 2012 at 2:26 PM


IPAddress.Any isn't supported by ObservableHttpListener, though it should be.  I'll add a work item for this bug.

You can workaround it now by creating an instance of HttpListener yourself using a host wildcard, then call the StartObservable extension method directly.  See the HttpListener remarks for details about host wildcards.

For example:

var listener = new HttpListener();


var requests = listener.StartObservable();

- Dave

Aug 22, 2012 at 2:30 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.