I develop a chat (server and client) using Sockets. It's working on LAN but when I try to connect the client to the server using my public IP address it says it cannot connect to that address. My address is public - a friend pinged my address successfully. You find everywhere examples and code for chat applications - but only over local network.
What's the problem? How can my chat work over the Internet? (I can post code if necesarry).
Please help me. I need this so much!
Jump to Post
First: picking up an almost 2 year old thread :sigh:
Second: look up RMI (Remote Method Invocation) http://download.oracle.com/javase/tutorial/rmi/index.html
All 7 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.