+ 3

Java networking

Hello PROgrammers! I'm making a chat app... And I'm planning to host a server and makes multiple clients join Issue: how can a client join me(host) , if they don't have my ipaddress? Like giving a password, and server name For example zoom, Google meets... How can I achieve this? Any idea please? Happy coding Thanks -orange

23rd May 2020, 3:15 PM
KingDaniel2004
KingDaniel2004 - avatar
11 odpowiedzi
+ 3
Slick thanks much, but I wanna to do it in pure Java aka java's In build libraries (like java.net)
23rd May 2020, 3:32 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 2
Code Crasher thanks for the heads up!
24th May 2020, 4:03 AM
KingDaniel2004
KingDaniel2004 - avatar
+ 1
A dns, even if your ip changes itll keep an adress you choose for your server. https://www.noip.com/
23rd May 2020, 3:26 PM
Slick
Slick - avatar
+ 1
Martin Taylor Java rmi?
23rd May 2020, 11:27 PM
KingDaniel2004
KingDaniel2004 - avatar
+ 1
Martin Taylor i just don't wanna share my device's ip address... Lol It is okay for me, by making a remote server, and giving that remote servers' address to client... Does that work though? ... I just wanna have a fixed up address, that's why I'm picking remote, I don't wanna make clients to change the code to match the host's up address everytime
24th May 2020, 12:51 AM
KingDaniel2004
KingDaniel2004 - avatar
+ 1
Code Crasher its a private personal mini little project lol
24th May 2020, 3:17 AM
KingDaniel2004
KingDaniel2004 - avatar