Vghd Client Program
Established as part of the Federal Rehabilitation Act of 1973, as amended, the North Carolina Client Assistance Program (CAP) is a federally funded program designed to assist individuals with disabilities in understanding and using rehabilitation services. CAP serves an integral part of the rehabilitation system. Deloitte offers clients a broad range of fully integrated professional services. The Client Program approach empowers seasoned professionals with the knowledge and experience that are most relevant to each particular market segment to apply their combined tax expertise, business insights and innovative ideas and help.
I'm writing my first java client/server program which just establishes a connection with the server sends it a sentence and the server sends the sentence back all capitalized. This is actually an example straight out of the book, and it works well and fine when I'm running the client and server on the same machine and using localhost for the server address. But when I put the client program on a different computer, it times out and never makes a connection with the server. I'm not sure why this is and its kind of lame making a your first client/server program and not actually be able to use it on two different machines. Here is the client code:
Here is the server code:
The only thing I change when I run it on two different machines is the client program makes its socket with the IP address of the machine with the server program (which I got from whatismyipaddress.com). Thanks a lot for any help.
Update: I am indeed on a campus and it seems that its probably not allowing me to use that random port. Any suggestions on finding out what port I can use and or a port that is more than likely allowed?
9 Answers
It's probably a firewall issue. Make sure you port forward the port you want to connect to on the server side. localhost maps directly to an ip and also moves through your network stack. You're changing some text in your code but the way your program is working is fundamentally the same.
Chris HChris HThere is a fundamental concept of IP routing: You must have a unique IP address if you want your machine to be reachable via the Internet. This is called a 'Public IP Address'. 'www.whatismyipaddress.com' will give you this. If your server is behind some default gateway, IP packets would reach you via that router. You can not be reached via your private IP address from the outside world. You should note that private IP addresses of client and server may be same as long as their corresponding default gateways have different addresses (that's why IPv4 is still in effect)I guess you're trying to ping from your private address of your client to the public IP address of the server (provided by whatismyipaddress.com). This is not feasible. In order to achieve this, a mapping from private to public address is required, a process called Network Address Translation or NAT in short. This is configured in Firewall or Router.You can create your own private network (say via wifi). In this case, since your client and server would be on the same logical network, no private to public address translation would be required and hence you can communicate using your private IP addresses only.
Vinit ShandilyaVinit ShandilyaIf you got your IP address from an external web site (http://whatismyipaddress.com/), you have your external IP address. If your server is on the same local network, you may need an internal IP address instead. Local IP addresses look like 10.X.X.X, 172.X.X.X, or 192.168.X.X.
Try the suggestions on this page to find what your machine thinks its IP address is.
– Davis Cup (8/2/59)4019: Donald Byrd – Byrd in Hand (5/: The Three Sounds – Good Deal (5/: Kenny Burrell with Art Blakey – On View at the Five Spot Cafe (8/: Duke Pearson – Profile (10/: Dizzy Reece – Star Bright (11/14/59, 11/: Jackie McLean – Swing, Swang, Swingin’ (10/: Lou Donaldson – The Time Is Right (10/31/59, 11/: Donald Byrd – Fuego (10/4/59)4027: Freddie Redd – The Connection (2/: Horace Parlan – Movin’ & Groovin’ (2/: Art Blakey and the Jazz Messengers – The Big Beat (3/6/60)4030: Jimmy Smith – Crazy! Freddie hubbard the love connection rar extractor.
Michael Brewer-DavisMichael Brewer-DavisInstead of using the IP address from whatismyipaddress.com, what if you just get the IP address directly from the machine and plug that in? whatismyipaddress.com will give you the address of your router (I'm assuming you're on a home network). I don't think port forwarding will work since your request will come from within the network, not outside.
NealNealOutstream is not closed .. close the stream so that response goes back to test client.Hope this helps.

you can get ip of that computer runs server program from DHCP list in that router you connected to.
My try to do client socket program
Vghd Client Program For Pc
server reads file and print it to console and copies it to output file
Server Program:
Client program:
Blundering Philosopherthis is client code
first run the server program then on another cmd run client program
this is sever side code
protected by Community♦Aug 6 '17 at 7:00
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Not the answer you're looking for? Browse other questions tagged javasockets or ask your own question.
FTP Rush 2.1.8
FTP Rush is a free comprehensive FTP client for smooth file transfer. The program offers fully-fledged functionality delivered in a user-friendly interface and allows experienced users to create..

Crypt4Free 5.47
Crypt4Free is files encryption software with ability to encrypt files and text messages. Support for ZIP files and ability to secure delete sensitive files. Skinnable user friendly interface.
Luxand Blink! 2.0
Login to your PC without touching a thing! Luxand Blink! is a free tool to let you log in to your Windows account by simply looking into a webcam - no passwords to type and no fingers to scan.
InTask Personal 1.5
InTask designed to help team leaders, developers and QA persons to share their efforts and deliver the products on time. The product includes fast task management, interactive gantt, document..
Pop-up Free 1.56
Get rid of annoying popup windows and enhance your Web surf experience. Kill unexpected popup windows and protect your privacy. No more annoying advertisement windows and save your time.
Glary Utilities Portable 2.56.0.8322
One Click A Day For PC Maintenance, Keeps Any PC Problems Away. With 7 million worldwide users, the first-rank & free Glary Utilities is an INDISPENSABLE friend for your PC, with its 100% safe,..
VPSpro 3.695
VPSpro is the ultimate in the creation of financial projection and general business plans. The unique walk-through process is simple to use and makes easy work of the hard parts of business planning.
Rylstim Budget Lite 4.5.1.6376
Plan and manage your finances with a simple friendly calendar. Perfect solution for home users and freelancers!
Neox Screen 1.0.0.277
Neox Screen is a free application which with the help of the hotkeys you can take screenshots that are crystal sharp, small in size and ready to be shared.
EMCO Remote Installer Free 4.1.1
This free remote software deployment tool is designed to install and uninstall Windows software on remote PCs through local networks. You can use it to install and uninstall EXE setups and MSI..