| | |
Client / Server Sockets - Port forwarding help.
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Apr 2008
Posts: 50
Reputation:
Solved Threads: 1
Hey guys, I have a problem with a game me and a friend are creating... We have just set up a Server and Client through the use of Sockets... My friend (at an external location to me) can connect to my server when I forward the port we choose (in our case Port 3000). If the port is not forwarded however he can no longer connect, this will be no good when we eventually deploy our application. My question is simply, how can he connect to my external IP on a given port without me having to forward ports on my router?
Many thanks
Many thanks
He should know your IP through configuration settings, and ports he could random port number and try to connect if failed generate another one.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
•
•
Join Date: Apr 2008
Posts: 50
Reputation:
Solved Threads: 1
•
•
•
•
Simple answer is unless your PC has an externally visible IP, you will need to use port forwarding.
Thanks for the suggestions
![]() |
Similar Threads
- scoket problems (Python)
Other Threads in the C# Forum
- Previous Thread: Copying File From Resources to Hard Drive
- Next Thread: Active Directory Question
| Thread Tools | Search this Thread |
.net access algorithm array asp barchart bitmap box broadcast buttons c# check checkbox client column combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development display draganddrop drawing encryption enum equation event excel file form format formbox forms formupdate function gdi+ httpwebrequest image index input install java label linux list listbox mandelbrot math mouseclick mysql networking operator packaging parse path photoshop picturebox pixelinversion post powerpacks programming radians regex remote remoting reporting richtextbox robot server sleep socket sql statistics stream string table text textbox thread time timer transform treeview update usercontrol validation visualstudio webbrowser wfa windows winforms wpf xml






