hi, im new in network programming....
most of the articles i've read requires a server and a port to connect to... just wondering how will i know which port to use?
I want to test the sample code i got from one the website i read. I tried assigning 8000 to the port but it gave me this error, "Message : No connection could be made because the target machine actively refused it"
When i change the port to 80 it did give me any error message at all... Is there a way to know which port i can use? im using my local machine for testing (localhost).
Hope someone could help me understand these things clearer...
most of the articles i've read requires a server and a port to connect to... just wondering how will i know which port to use?
I want to test the sample code i got from one the website i read. I tried assigning 8000 to the port but it gave me this error, "Message : No connection could be made because the target machine actively refused it"
When i change the port to 80 it did give me any error message at all... Is there a way to know which port i can use? im using my local machine for testing (localhost).
Hope someone could help me understand these things clearer...