Hello
@rogel a. tolentino
If you connect the PC and the smartphone to the same LAN (Local Area Network) it should work without problems.
If you need to access from a WAN ( Wide Area Network ) you can do it in 2 different ways:
1st way: Ask your ISP (Internet Service Provider) for an Public IP so they can see you all over the world from the internet
2nd way: Rent a VPS (Virtual Private Server) and install your database and your jRDC2 service there