ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How about running a small jsp app on some server , and when ever the target machien start up send our ipadd to it.. we can query that server to get our current ip add & establish a conection. but even if i get the proper ip add can we get thru the ip masquerading techniques of the isp ?? does anyone know about a server that offers mysql & jsp support for free ? with subdomain name for our website.. ? like www.myName.domain.org or something ??
Distribution: Normally Caldera 3.2, but currently WinXP only
Posts: 14
Rep:
Hi @ all.
I once had a FTP-server running and did not have an account @ some DNS-provider. I had some webspace providing PHP and MySQL for free and then I stored the server's IP into the db everytime it reconnected. It's like I've written some DNS-service myself Other clients opened a site showing the ftp-link that was generated by the data of the db...
However, I definetely recommend the DNS-method. The server updates its IP-Address on the DNS-server so that your registered domain now points to the server's IP address. Whenever you now start you client from whereever, you connect to your domain and do not even think of handling some IP stuff. You just connect to the server on that IP and that's all. That's easier, faster and safer than spreading your IP all over the web.
The use of IGMP + the dynamic DNS service is a possible way to go...if it is just for you and a select few others.
If it was to be a public service of some sort, I would look into an archetecture where the client connects to internet, sends it's current IP to the server, the act itself of transmitting the ip could serve multiple purposes, such as being added to IGMP, i.e. a "wake-up" of sorts. IGMP will get you around the multicast issue though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.