Click here to Skip to main content
15,888,287 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created a chat application using TcpClient and TcpListener in Visual Studio.
All works fine when I run the server on my computer.

I want to host the server application online on the Internet, like GoDaddy.com, so that it can be accessed from anywhere.

Is this possible? If not, any other alternatives?

The chat server is a .NET console application.
Posted
Comments
Homero Rivera 22-Aug-15 11:53am    
Dreaming high, that's good. What can you tell us about your chat application? On what port do you listen to tcp?

Is it built as a peer-server-peer ? Or P2P?
Richard MacCutchan 22-Aug-15 12:45pm    
No, there are far too many issues to do it this way, including lack of fixed IP addresses. You need a webserver that the clients can connect through.

1 solution

You'll need to hire a shared server with a fixed IP address (a lot of web hosts will offer these). You need a domain registered such that it points to your server (say chat.yourdomain.com), your app needs to run on this machine listening to its given port, and your chat client needs to connect to that port on that machine.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900