Hi El 01/03/10 17:55, Sam B escribió: > I'm running an H2 TCP server on my desktop, and I want to connect to > it using another computer. > > What os ? > I get an error if I try to connect to the server using its IP address: > > jdbc:h2:tcp://169.254.163.127:9092/testdb > >
In Linux use: netstat -ine In WIndows: ipconfig /all too to your network interfaces and state. > I've also tried connecting using my global IP address with no success. > > Do you say Public Internet Address" ? > However, I can successfully connect using the host name: > > jdbc:h2:tcp://DEEP-THOUGHT:9092/testdb > > Go to : http://www.svhost.com.ar/ver_ip.php to know your public ip address. to see what of your IPs is working for you. > So, I have a few questions: > > 1. Can anyone think of a reason why this is happening? > Do you have an Internet security suite or firewall running on your desktop ? > 2. Is it possible to connect using the IP address? > yes > 3. Is it possible to connect to H2 from outside my local network? For > example, could I take my laptop to Starbucks and connect to my home > server from the internet I think you are connecto with dinamic IP address , then you must to map a hostname at connection time ( like dyndns or no-ip services) and connect from outside to this name. regards, Dario -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
