how to host a site on your laptop

i have a java based spring web application which i run using jetty. although i can access this locally by typing localhost:8080 on my laptop.
what i want is to keep this application running and let others access the application from other computers. how can this be done ?
also are there any ways i can deploy this application elsewhere without buying a space temporarily so that i dont have to keep it running on my computer all the time.

Rohit BajajAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Do you want them to be able to access it over the internet or just on your local LAN?

On the local LAN they can presumably access it at Your_IP_ADDRESS:8080 as long as your firewall permits it.

Accessing it over the internet is more difficult and presents obvious security concerns.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPOwnerCommented:
Azure and Amazon S3 offer reasonable web hosting..
Brandon LyonSenior Frontend DeveloperCommented:
If they're behind the same LAN then it's no problem and they can access the URL using your IP address with the port appended, such as or something like that. If they're outside your LAN then you will need to configure your router to forward that port to your laptop.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

Rohit BajajAuthor Commented:
What if like my mobile and laptop are connected to the same WIFI.
Now my web application is running on localhost:8080 on my laptop.

typing ifconfig gives me an ip under en0: of my laptop.

But if i type this ip with :8080 port number the page does not load..
what do i need to do inorder to access the application...
In this case i am connected to the same Wifi.
Perhaps your firewall is blocking it?
Rohit BajajAuthor Commented:
I went to system preferences -> Security and Privacy on my Mac it shows there Firewall is off
Rohit BajajAuthor Commented:
I am running it on my Mac and trying to access it on my mobile.
Try accessing it from another laptop instead. Your mobile might not support Java.

Also, can you ping your Mac using the local IP address?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Applications

From novice to tech pro — start learning today.