java - How can I publish my restful webservice to internet? -


i don't have knowledge webservices.

now developing server side code restful webservices. deployed server side application in glassfish 4.

my webservice doing work. checked giving below url in local machine.

eg: http://localhost:8080/server/rest/v1/getdata

it give expected result.

but how can access webservice internet (i want access mobile or computer placed somewhere)?

what steps have achieve this?

you need internet connection static ip (if using dynamic ip change every reconnection) can access application outside using your-static-ip:8080 or buy droplet digital ocean or amazon or other hosting providers can host application configuring glassfish in it.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -