---서버---
public class MainBody {
public static void main(String args[]) throws Exception {
ServerSocket ss = new ServerSocket(3000);
System.out.println("대기중");
Socket s = ss.accept();
System.out.println(s.getLocalSocketAddress()+"에 의해 종료");
s.close();
ss.close();
}
}

---클라---
public class TESTClient {
public static void main(String args[]) {
Socket c;
try {
c = new Socket("192.168.0.4", 3000);
} catch (UnknownHostException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}
}

클라이언트에 공유기 IP(192.168.0.4)를 넣으면 작동은 하는데..
외부 IP를 넣으면 안되여.. 같은 네트워크 안이라 그런건가요?
(연결이 안되요..ㅠㅠ 서버가 시작이 안된걸까요..)
근데 안드로이드에서는 아예 안되는 걸 보면 문제가 있는거 같은데ㅠㅠ
어떻게 해야될까요..