Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mini Web Server: where the results appear in this case

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • 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...

 
Joe Ess
Bartender
Posts: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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: 9319
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic