Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Commented Unassigned: Can't listen on 'well known' ports below 1024 [82]

$
0
0
I set up a http_listener on port 1234 and everything works fine. But on ports below 1024 ist doesn't work. What's the reason ?

I'm working on Windows 8.1.
Comments: Hi Tunichtgut, The port numbers below 1024 are [well-known ports](http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers). When you try to listen on one below 1024 I'm guessing you are getting an exception with an error something like: Access denied: attempting to add Address 'http://localhost:1002/'. Run as administrator to listen on an hostname other than localhost, or to listen on port 80. Listening on these ports requires administrative privileges. I have no trouble if run as an administrator, try it out. Thanks, Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>