I have a simple chat application. The client and the server are connected through broadband internet. After starting the chat server on one machine, when the client-side code is run it shows the following error:
No, there was no line number or as such in the above mentioned error. The error was as it is? The IP add is that of the host. The client and server are both connected through broadband internet. What address should i use?
The ip address 192.168.*.* among others is not addressable across the internet. Those addresses are intended for use on private networks. You will have to figure out the public address of your internet connections, then configure the broadband routers to allow connections to pass through.
I don't understand your question. There is only one HTTP. Correct me if I'm wrong, but since you are using Sockets rather than URL/URLConnection, I don't think you are using HTTP in your application. Are you talking about configuring port forwarding? The settings differ depending on your router/modem. This site can help you with that task.