Skip to content

Access is denied when listen on a port

George George

Asked May 29, 2008, 2:35 AM EDT4 answers
Share
LinkedInX

Hello everyone,


I am using Windows Server 2003. When call the Start method of HttpListener, there is the following exception -- System.Net.HttpListenerException: Access is denied.

Any ideas how to grant the access?


thanks in advance,
George

4 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    0
    Are you using this within a LAN or WAN context If WAN then check the Firewall it causes problem like this
    0
  • 0

    I just want to check whether the port is occupied by other process or the current process has no privilege to operate on that port. Any ideas about how to check? :-)

     

    regards,

    George

    0
  • Bechir Bejaoui
    0
    I still believe that something wrong aused by the firewall but any way here is an API witch helps you manage IP, sockets and connections you know network connection is not esay such as data base connection if a zombie process is runnig it's quite difficult to manage the situation
    0
  • 0

    Hi Bechir,

     

    The GeoIP tool you referred is dealing with geographic information SDK, does it relate to my specific issue?

     

    regards,

    George

    0