944,018 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1635
  • Java RSS
Oct 17th, 2009
0

Client - Server Application

Expand Post »
Hello all,

I am developing chat application(not applet) in java, I want it to be able to run over internet

I have tried it in LAN with Socket programming
I found something here
It is working fine

But how can i run it over internet

If i tcpserver.java(or tcpserver.class) to the web hosting server.
I will not be able to run server class that can listen to client.
Please clear my doubt as i am learning this for first time
If i am missing something please tell me !
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
topest1 is offline Offline
19 posts
since Sep 2009
Oct 17th, 2009
0
Re: Client - Server Application
you have to forwards requests on which ever port your chat server is listening on to the machine on which the chat server is located and if you have a firewall on you have to allow request to the same port through the firewall
Reputation Points: 14
Solved Threads: 12
Junior Poster
ejosiah is offline Offline
119 posts
since Feb 2008
Oct 17th, 2009
0
Re: Client - Server Application
Click to Expand / Collapse  Quote originally posted by ejosiah ...
you have to forwards requests on which ever port your chat server is listening on to the machine on which the chat server is located and if you have a firewall on you have to allow request to the same port through the firewall
I am not getting what you are talking

After uploading my file to the web server(which i will get from web hosting company) without executing that file how can that application listen to the client port???

And i cannot setup the firewall rules in the servers firewall to forward the port.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
topest1 is offline Offline
19 posts
since Sep 2009
Oct 19th, 2009
0
Re: Client - Server Application
Dail-up modems, ISDN, HFC and ADSL are all used for residential access. For each of these access technologies, provide a range of transmission rates and comment on whether the bandwidth is shared or dedicated.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
joxieq is offline Offline
1 posts
since Aug 2009
Oct 19th, 2009
0
Re: Client - Server Application
I am a College Student

And not getting the points what are you talking

are you talking about Bandwidth of the server???
If it is

The bandwidth of the server is shared
Reputation Points: 10
Solved Threads: 0
Newbie Poster
topest1 is offline Offline
19 posts
since Sep 2009
Oct 19th, 2009
0
Re: Client - Server Application
@topest1. we can't really help you if you haven't a clue of what u are trying to do. I suggest you go to your college's library and pick up a book or two on Networking and Java Network programming.
Reputation Points: 14
Solved Threads: 12
Junior Poster
ejosiah is offline Offline
119 posts
since Feb 2008
Oct 19th, 2009
0
Re: Client - Server Application
Thank You for the support .././...../....

I will look for the book in the library

Once again Thank You../.../.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
topest1 is offline Offline
19 posts
since Sep 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: printf and three string arguments
Next Thread in Java Forum Timeline: File to multiple byte array's of 1KB size contained in a LinkedList?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC