• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Mini Web Server: where the results appear in this case

 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A miniature Web Server like below, run success http://localhost:6789/new.html, how can run on live server?
how run online remote/live server, and where the results appear in this case?
in case, local host appear in CLI...I RUN SERVER...

 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the way I parse your question, you are asking where the output will appear if you run the code above on a headless server. How do you propose to run it? A service?
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I RUN IT localhost success, and when a request FROM BROWSER for url:
http://localhost:6789/new2.html
done, appeared in Command Line Interface(whereas SERVER running) the header, how to: this remotely/live server as textbook refers?

When I insert in browser http://localhost:6789/new.html
appear in Command Line this(in live server where this appear?):

how run server class file in REMOTE server and see results?
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Leonidas Savvides wrote:
how run server class file in REMOTE server and see results?



PLEASE DON'T USE ALL CAPS. It reads like you are yelling..

As for how to run the class on the server, how are you accessing the server? What OS is it?
Servers aren't magical places. They're still computers and they still have a command line. Unless you want to do something fancy like a service or daemon, run your class like you would on a desktop.
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Linux/Java tomcat/jdk 6 (godaddy.com shared hosting server - JAVA/PHP Supported)

may run from this simplest host environment or needed dedicated or v-dedicated servers for ...?
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know about godaddy in particular, but the shared hosting environments I've seen will not let users start their own servers.
 
Time is mother nature's way of keeping everything from happening at once. And this is a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic