How to know which port to

I am doing an assignement on Codeblocks using two laptops. Task is to send files over the internet. My code worked in college lab pcs but at home the connection isnt opening. i have changed the ip addresses to the home ones but i am not sure a)if i need to change the port numbers and b)how do i know which port to use
1 answer Last reply
More about port
  1. Ah, you now get to learn about traversing routers! ;)
Ask a new question

Read More

vpn Networking