httplistener Questions
2
Solved
I have this tiny piece of code where I try to add prefixes for my HttpListener:
listener = new HttpListener();
listener.Prefixes.Add("http://192.168.0.108:8088/");
listener.Start();
Which throws...
Heathenry asked 25/12, 2017 at 15:5
6
Solved
There seems to be a lot of confusing, sometimes conflicting, information with regards to making a .NET HttpListener HTTPS capable. My understanding is as follows:
One's C# code needs an https pref...
Milagro asked 9/7, 2012 at 21:19
8
Solved
I am trying to retrieve an uploaded file from my webserver. As the client sends its files through a webform (random files), I need to parse the request to get the file out and to process it further...
Papule asked 11/12, 2011 at 19:19
8
Solved
I'm developing an application that is so far using HttpListener to provide a small standalone http server. However, I've recently discovered that HttpListener needs to be run as Administrator, whic...
Schizophyceous asked 11/11, 2008 at 11:49
4
I'm having a problem with a simple web server that I am writing. I need to be able to connect to the server through localhost and IP. However, I am having problems connecting through IP. Here is my...
Camouflage asked 30/9, 2013 at 13:40
2
Solved
I'm trying to use HttpListener to serve static files, and this works well with small files. When file sizes grow larger (tested with 350 and 600MB files), the server chokes with one of the followin...
Torrey asked 14/11, 2012 at 19:11
4
Solved
I am trying to write a C# http server for a personal project, i am wondering how i can change the returned server header from Microsoft-HTTPAPI/2.0, to something else?
public class HttpWebServer
...
Grizzled asked 9/1, 2009 at 7:30
1
Imagine that an elevated user (eg. installer) configures a URL reservation:
netsh http add urlacl url="https://+:8105/" user="SVCACCOUNT" listen=yes
Now when Owin started (running under SVCACCO...
Officialdom asked 21/10, 2017 at 0:43
12
Solved
I am writing an HTTP server in C#.
When I try to execute the function HttpListener.Start() I get an HttpListenerException saying
"Access Denied".
When I run the app in admin mode in windows ...
Knotgrass asked 25/10, 2010 at 22:44
5
I have built a simple web service that simply uses HttpListener to receive and send requests. Occasionally, the service fails with "Specified network name is no longer available". It appe...
Moisture asked 9/1, 2009 at 19:48
3
Solved
I have an application that uses HttpListener, I need to know when the client disconnected, right now I have all my code inside a try/catch block which is pretty ugly and not a good practice.
How c...
Nitty asked 25/8, 2009 at 18:1
3
Solved
I have a .net core application running in Windows and Linux as well (I use .net core runtime >= 2.1). To get better insights I'd like to expose a metrics endpoint (simple HTTP GET endpoint) for Pro...
Appliance asked 2/4, 2020 at 9:56
2
I am trying to write a very very simple custom Http server in C#.
The code to achieve a connection is as simple as .Net offers it:
// get our IPv4 address
IPAddress[] localIPs = Dns.GetHostAddr...
Ezekielezell asked 6/3, 2016 at 4:7
1
Solved
I'm currently using the httplistener authenticationselector delegate to do windows auth and ip checking and it's working brilliantly in that it denies and allows exactly the clients it should be.
...
Copilot asked 8/5, 2019 at 9:6
1
Suppose I have a machine with an IP for instance 183.41.22.22. I want to listen to all HTTP messages that will be sent to port 43 of this IP on local host. In fact, I am not really interested in al...
Dionysus asked 11/4, 2019 at 14:55
3
Solved
So, we have a large program which uses HttpListener for a small remote admin feature. For reasons I don't understand, some people have issues with a 503 error.
Since we're not supplying the error,...
Dissection asked 15/11, 2011 at 20:0
1
Ok, this is a long question, but I think it worth this. What we have:
A sample dummy C# console application, that start self-hosted owin ASP.Net WebAPI service (Microsoft.AspNet.WebApi.OwinSelfHo...
Annalist asked 28/2, 2018 at 9:1
2
Solved
I tried creating a simple HTTP server using System.Net.HTTPListener, but it doesn't receive connections from other computers in the network. Example code:
class HTTPServer
{
private HttpListener ...
Wink asked 16/3, 2012 at 10:20
7
I would like to create an application that serves web pages internally and can be run in multiple instances on the same machine. To do so, I would like to create an HttpListener that listens on a p...
Penutian asked 21/10, 2008 at 19:0
5
Solved
I have a listener:
listener = new HttpListener();
listener.Prefixes.Add(@"http://+:8077/");
listener.Start();
listenerThread = new Thread(HandleRequests);
listenerThread.Start();
And I am handli...
Egwan asked 12/1, 2011 at 17:40
1
Solved
Problem description:
I have an HttpListener within my C# program that takes a POST request with a posted file (jpg, doc, zip or alike). I am sending and receiving the file on the same Windows mach...
Filiate asked 10/6, 2016 at 9:37
2
Solved
I am using a HttpListener and using BeginGetContext to get my context object. I want to cleanly shut down my HttpListener but if I attempt to do a Close on the listener I get a exception and it cau...
Used asked 12/11, 2012 at 21:11
2
I have created a server using HttpListener. It works perfect without SSL, but with SSL something strange happens.
I have installed the certificate using httpcfg and even with my own program, it in...
Hackberry asked 6/8, 2014 at 22:47
1
Solved
I have a composite-source consist of two http:listener in Mule;
I want to set a variable based on each of the listeners after receive requests from these listeners ;
but this error occurs while d...
Adventuress asked 24/5, 2015 at 14:44
1
Solved
Is it possible to use http2 features with HTTPListeners yet? I didn't hear anything about it but i heard that the new releases of the IIS / asp.net stack support it so i was hoping HTTPListener wou...
Parterre asked 8/5, 2015 at 23:49
1 Next >
© 2022 - 2024 — McMap. All rights reserved.