Hi. I've just started to learn about sockets, serversockets and establishing a simple server using stream sockets.
I have a very simple server and client application working on my LAN between my iMac and PC. So far so good.
I now want to put my server on the WAN i.e. the internet.
My question is, will an internet hosting company allow my java server app to open a socket? Do I need to ask for a special kind of access?
I don't want to sign up to a hosting deal to find out they only permit web pages, emails and FTP.
By the way, hosting on my company's server doesn't work due to security restrictions.
Well, frankly just the idea of running a hosted application which isn't a web application is in itself unusual. That's not to say that such applications are nonexistent, just that they are uncommon.
Joined: Oct 09, 2012
Paul Clapham wrote:Well, frankly just the idea of running a hosted application which isn't a web application is in itself unusual. That's not to say that such applications are nonexistent, just that they are uncommon.
OK I've check with my ISP and my question has thrown them into a state of confusion and talk of big bucks. So I guess the Head First Java chapter 15 *Daily Advice Server* is not the basis for a larger app.
Searching around, I have come across Java Servlets and Java Server Pages. If I want to develop an implement a server based application that can be hosted on the internet and used by other people, should I learn more about servlets and JSPs? Feeling a bit lost here and wouold appreciate a pointer which way to go in my education
Joined: Mar 22, 2005
Servlets and JSP would be the way to go if you want to host a web app - which, as Paul mentioned, is by far the most common type of hosted app.
"Big bucks" - I wouldn't say so. Java web hosting starts at about $10/month, and for around $20/month you can get quite decent plans.
subject: Server client java app and internet hosting