Results 1 to 6 of 6
  1. #1

    Default java networking help


    I want to connect sa server nga naay router.
    unsaon naman na?
    duha naman kabook ang IP address sa computer nga naay router.
    external and internal

  2. #2

    Default Re: java networking help

    Hello bro!

    How did you connect your Computer to Router and Server to Router?
    Imu router, enabled ang DHCP?

    If you can share files across computers within the router's network, then ok imu communication.
    I'm just confused unsa pasabot nimo sa Internal og External IP Addresses.

    Can you please elaborate your setup? aron matabangan tika.

    If you want to communicate with programs through Java network, the easiest for me is Socket and ServerSocket.
    Networking Basics (The Java™ Tutorials > Custom Networking > Overview of Networking)
    Lesson: All About Sockets (The Java™ Tutorials > Custom Networking)

    To be able to succeed in this Socket and ServerSocket class, Create a simple CHAT program, either with GUI or through console.

    Naa to lain method which is ang other group pag-college nako ang nag himu.
    Java RMI which is a bit complex for me, kay wala ko nag tuon og wala ko nag gamit karon.
    Trail: RMI (The Java™ Tutorials)

  3. #3

    Default Re: java networking help

    internal IP is the IP address that the router give you and External IP address is the IP address that your ISP give you.

    ang server ang akong i.connect naay router.

    Socket ClientSocket = new Socket("host IP address", port); /* dba ani man pagconnect sa server? */

    akong problem kay dili ko maka connect kay ang host or server naay duha ka IP address witch is internal and external.

  4. #4

    Default Re: java networking help

    through, LOCAL AREA NETWORK ra ka mag communicate sa imu Socket Programming?
    kay if that so, then the Local ip address ra ang gamita..

    Socket ClientSocket = new Socket("192.168.1.1", port);

    but if through internet ka bro, there are some configuration you need to do sa imu router..

    and ingon ani ang pag tawag kung through internet,

    Socket ClientSocket = new Socket("www.yourdomain.com", port);

  5. #5

    Default Re: java networking help

    me has no router.
    myfriend has router.

    kong "me" is the host, si "myfriend" maka connect sa "me".

    pero kong "myfriend" is the host, "me" cannot connect.

  6. #6

    Default Re: java networking help

    Quote Originally Posted by kel2985 View Post
    me has no router.
    myfriend has router.

    kong "me" is the host, si "myfriend" maka connect sa "me".

    pero kong "myfriend" is the host, "me" cannot connect.
    basin naa'y problem ang firewall ni "myfriend" bro.
    try to check the exceptions sa firewall configuration nimu.

    try to check kay "me" ang configuration pud sa firewall..

  7.    Advertisement

Similar Threads

 
  1. Need help in JAVA plsss.. help 25problems..
    By FrozenBoi in forum Programming
    Replies: 89
    Last Post: 02-09-2010, 02:26 PM
  2. Home Networking Help!
    By toting in forum Networking & Internet
    Replies: 31
    Last Post: 06-27-2009, 10:15 AM
  3. Cannot see other PCs in the network. Help.
    By acronis in forum Networking & Internet
    Replies: 12
    Last Post: 04-14-2009, 03:30 PM
  4. Need some help - Java Networking
    By stealthghost in forum Networking & Internet
    Replies: 9
    Last Post: 12-22-2008, 07:35 PM
  5. Java programming help pls...
    By mr_gwen in forum Programming
    Replies: 6
    Last Post: 11-03-2006, 12:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top