Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How to access port80

How to access port80

Scheduled Pinned Locked Moved C#
csharpdatabasehelptutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Krishna Varadharajan
    wrote on last edited by
    #1

    Hi, I want to access port80, I am creating a software which blocks unwanted websites those who are browse from any browser in a system, so I am writing a service in that I am writing a code to access port80 and to get the url to check in my db and allow or diney url. I tried using HttpListener class in c#...but not working...can you help me to get this.

    krishna

    B L 2 Replies Last reply
    0
    • K Krishna Varadharajan

      Hi, I want to access port80, I am creating a software which blocks unwanted websites those who are browse from any browser in a system, so I am writing a service in that I am writing a code to access port80 and to get the url to check in my db and allow or diney url. I tried using HttpListener class in c#...but not working...can you help me to get this.

      krishna

      B Offline
      B Offline
      Bernhard Hiller
      wrote on last edited by
      #2

      You need to get your software between the web browser and the network card. I do not know if you can get a hook in between and filter there. But you can write a proxy server which the browser would then use. Or write a good "proxy.pac" script (e.g. "no-ads.pac": http://www.schooner.com/~loverso/no-ads/[^]).

      1 Reply Last reply
      0
      • K Krishna Varadharajan

        Hi, I want to access port80, I am creating a software which blocks unwanted websites those who are browse from any browser in a system, so I am writing a service in that I am writing a code to access port80 and to get the url to check in my db and allow or diney url. I tried using HttpListener class in c#...but not working...can you help me to get this.

        krishna

        L Offline
        L Offline
        Luc Pattyn
        wrote on last edited by
        #3

        you could add unwanted IP adresses to your hosts file... :)

        Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

        B 1 Reply Last reply
        0
        • L Luc Pattyn

          you could add unwanted IP adresses to your hosts file... :)

          Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

          Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

          B Offline
          B Offline
          Bernhard Hiller
          wrote on last edited by
          #4

          That won't be useful when some sites serve both content and ads. The proxy.pac by Loverso (see link in my post above) circumvents that problem.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups