Results 1 to 7 of 7

Thread: how to listen to port 80

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    15

    how to listen to port 80

    help me to write a code that listen to port 80!!!

  2. #2
    Hyperactive Member wiccaan's Avatar
    Join Date
    Apr 2004
    Location
    127.0.0.1
    Posts
    475

    Re: how to listen to port 80

    Code:
    Private Sub Form_Load()
    Winsock1.LocalPort = "80"
    Winsock1.Listen
    End Sub
    If my post was helpful please rate it

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    15

    vb code error

    i try your code
    it's so simple and clear (Thanks)

    but when i run it i get an error that mean : the address is in use
    the error number Is : 10048

  4. #4
    Hyperactive Member wiccaan's Avatar
    Join Date
    Apr 2004
    Location
    127.0.0.1
    Posts
    475

    Re: how to listen to port 80

    Your internet browser uses port 80 to connect to the internet and download webpages and what not (not always the case, but its the default port for it).

    You can try using other ports such as 8080 which is another standard for the internet.

    Depending on what your server is for, you can set the port to what ever you want thats not assigned to a service already.
    If my post was helpful please rate it

  5. #5

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    15

    Yeeeeeeeeeeeeeeeesss

    I change my IIS port from 80 to another

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: how to listen to port 80

    Quote Originally Posted by wiccaan
    Your internet browser uses port 80 to connect to the internet and download webpages and what not (not always the case, but its the default port for it).

    You can try using other ports such as 8080 which is another standard for the internet.

    Depending on what your server is for, you can set the port to what ever you want thats not assigned to a service already.
    Web browsers connect to port 80 on other computers but they do not listen on port 80. Web servers listen on poort 80, IIS for instance, so you'll either need to change its port or stop it altogether.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  7. #7

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    15

    Re: how to listen to port 80

    you are right . Its listen for to localhost only.
    i want to listen to the data that come to my computer from the internet !!!

    Help.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width