help me to write a code that listen to port 80!!!
Printable View
help me to write a code that listen to port 80!!!
Code:Private Sub Form_Load()
Winsock1.LocalPort = "80"
Winsock1.Listen
End Sub
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
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.
I change my IIS port from 80 to another :wave:
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.Quote:
Originally Posted by wiccaan
:confused: 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