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' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -