I have a pos software which is developed with java
and it is running perfectly on localhost
with a PostgreSQL
database. But the problem is my client wants to use the pos software while he is travelling.
So my problem is how to access the PostgreSQL database
which is running on localhost
via internet. I searched this on google and found that I can use web services
to connect to my PostgreSQL database
via internet
. But don't know how to access those web services
via internet
because I don't have an static IP address.
Can anyone please tell me:
localhost PostgreSQL database
via internet
? web services
how to access those services via internet if I don't have an static
IP address? I'm using java
to develop my desktop POS software and it is running on a windows computer.
You would have the same trouble that accessing a box running PostgreSQL: you need to locate that box somehow; it will happens if you deploy your Web Services and it is happening now that you want to access your database. There are many ways to achieve that, but basically you need a permanent connection to the Internet (of course) and a static (real) IP.
I would recommend you to deploy your application in AWS , OpenShift , or Heroku , to name a few.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.