mmas
mmas

Reputation: 31

Unable to access to a nancy webservice form external connections

I have a nancy (2.0.0-clinteastwood) web service and I am unable to connect from outside.

I've tried the following solutions without success:

I already have a bounding rule pointing to the specified service allowing all connections to the web service port.

I've tried the following configurations:

   _uri = new Uri(url);
   _hostConfigs = new HostConfiguration();
   _hostConfigs.UrlReservations.CreateAutomatically = true;
   _hostConfigs.EnableClientCertificates = true;
   _uri = new Uri(url);
   _hostConfigs = new HostConfiguration();
   _hostConfigs.RewriteLocalhost = true;
   _hostConfigs.UrlReservations.CreateAutomatically = true;
   _hostConfigs.EnableClientCertificates = true;

None of this has worked.

I've also tried the netsh commands but didn't work.

The web service responds perfectly to local requests the problem is with the external requests. Previously to creating this nancy web service with .net standard I had a nancy service with .net framework and a .net core web service that responded to external requests (I had some problems since those weren't always responding).

Upvotes: 0

Views: 76

Answers (1)

Sifiso Shezi
Sifiso Shezi

Reputation: 486

What is the url you are binding to ?

Upvotes: 0

Related Questions