Difference between revisions of "Webserver"

From VRTool wiki
Jump to: navigation, search
(Created page with "Accessing your vrtool desktop remotely VRTool embedded webserver allows remote access to the program's chart using a web browser (IE, Firefox &c). The program acts as a web serv...")
 
m
Line 1: Line 1:
Accessing your vrtool desktop remotely
+
VRTool embedded webserver - accessing your desktop remotely
  
 
VRTool embedded webserver allows remote access to the program's chart using a web browser (IE, Firefox &c). The program acts as a web server.
 
VRTool embedded webserver allows remote access to the program's chart using a web browser (IE, Firefox &c). The program acts as a web server.
Line 5: Line 5:
 
Possible uses:
 
Possible uses:
  
    View your vrtool desktop remotely with a Internet enabled cell phone.
+
* View your vrtool desktop remotely with a Internet enabled cell phone.
    Share your desktop with friend(s) over the web.
+
* Share your desktop with friend(s) over the web.
 +
* Host you own virtual race.
  
 +
<pre>
 
List of services:
 
List of services:
/ homepage (BA chart + boat data)
+
/         homepage (BA chart + boat data)
 
/ba.gif current boat attitude chart
 
/ba.gif current boat attitude chart
 
/chart.gif current vrtool chart
 
/chart.gif current vrtool chart
 +
</pre>
  
The content is dynamically generated GIF images and html text.
+
The content is dynamically generated images and html text.
This application serves no files nor runs any kind of script, so it is a simple and safe http server.
+
This application serves no files nor runs any kind of script. It is a simple and safe http server.
But make sure you understand other risks of serving the Internet from your computer.
+
But make sure you understand other risks of serving the Internet from your home computer.
  
To configure and activate the vrtool "webserver" click menu options > View > Web server.
+
To configure and activate the vrtool webserver click menu option '''>View >Web server'''.
 
Before starting the server, configure the tcp/ip port (default=8080).
 
Before starting the server, configure the tcp/ip port (default=8080).
The server may be set to require authentication for all pages ( a single login/password )
+
The server may be set to require authentication for all pages (a single login/password)
  
Click [x]Start/stop server to start.
+
Click '''[x]Start/stop server''' to start.
  
To test the vrtool webserver from the same computer point the web browser to:
+
To test the webserver from the same computer point the web browser to:
  
http://localhost:8080/  
+
http://localhost:8080/
  
Configuring your network to allow remote access to vrtool webserver
+
== Configuring your network to allow remote access to vrtool webserver ==
  
If you use a ADSL line connected to a wireless router, the configuration may involve:
+
If you have broadband Internet access, connected to a wireless router,
 +
you may configure it to allow accessing your vrtool desktop from outside the intranet.
  
    Most likely your router uses a dynamic Internet IP number (i.e. the IP changes over time).
+
Most likely your router uses a dynamic Internet IP number (i.e. the IP changes over time).
    In this case you have to use a dynamic DNS service, such as DynDNS.org (free).
+
In this case you have to use a dynamic DNS service, such as DynDNS.org (free).
    Some wireless routers support DDNS ( whenever the ip changes, the router notifies the DNS sever).
+
Some wireless routers support DDNS ( whenever the ip changes, the router notifies the DNS sever).
    Create an account in DynDNS.org.
+
Create an account in DynDNS.org. Configure the wireless router with DynDNS host/login.
    Configure the wireless router with DynDNS host/login.
 
  
    Configure Wireless Router to accept connections on a given port and
+
Configure Wireless Router to accept connections on a given port and
    direct it to your computer ip/port.
+
direct it to your computer ip/port.
    ex: start: 8080 end: 8080 ip: 192.168.0.101 protocol: tcp/ip
+
ex: start: 8080 end: 8080 ip: 192.168.0.101 protocol: tcp/ip
    ( to get your computer IP address, use DOS command IPCONFIG )
+
( to get your computer IP address, use DOS command IPCONFIG )
  
    Configure the computer Windows Firewall to allow remote access to the vrtool webserver in the chosen tcp/ip port.
+
Configure the computer Windows Firewall to allow remote access to the vrtool webserver in the chosen tcp/ip port.
     ex: program: vrtool.exe port:8080 rights: act as server
+
     ex: program: '''vrtool.exe''' port:8080 rights: act as server
  
 
Your full VRTool webserver URL will look like this:
 
Your full VRTool webserver URL will look like this:

Revision as of 14:19, 31 May 2012

VRTool embedded webserver - accessing your desktop remotely

VRTool embedded webserver allows remote access to the program's chart using a web browser (IE, Firefox &c). The program acts as a web server.

Possible uses:

  • View your vrtool desktop remotely with a Internet enabled cell phone.
  • Share your desktop with friend(s) over the web.
  • Host you own virtual race.
List of services:
/ 	        homepage (BA chart + boat data)
/ba.gif 	current boat attitude chart
/chart.gif 	current vrtool chart

The content is dynamically generated images and html text. This application serves no files nor runs any kind of script. It is a simple and safe http server. But make sure you understand other risks of serving the Internet from your home computer.

To configure and activate the vrtool webserver click menu option >View >Web server. Before starting the server, configure the tcp/ip port (default=8080). The server may be set to require authentication for all pages (a single login/password)

Click [x]Start/stop server to start.

To test the webserver from the same computer point the web browser to:

http://localhost:8080/

Configuring your network to allow remote access to vrtool webserver

If you have broadband Internet access, connected to a wireless router, you may configure it to allow accessing your vrtool desktop from outside the intranet.

Most likely your router uses a dynamic Internet IP number (i.e. the IP changes over time). In this case you have to use a dynamic DNS service, such as DynDNS.org (free). Some wireless routers support DDNS ( whenever the ip changes, the router notifies the DNS sever). Create an account in DynDNS.org. Configure the wireless router with DynDNS host/login.

Configure Wireless Router to accept connections on a given port and direct it to your computer ip/port. ex: start: 8080 end: 8080 ip: 192.168.0.101 protocol: tcp/ip ( to get your computer IP address, use DOS command IPCONFIG )

Configure the computer Windows Firewall to allow remote access to the vrtool webserver in the chosen tcp/ip port.

   ex: program: vrtool.exe port:8080 rights: act as server

Your full VRTool webserver URL will look like this:

http://your_dyndns_name.getmyip.com:8080/

Type that URL in the cell phone web browser.

Warning: Of course If you can access your vrtool chart from the Internet, others can too. Use authentication to restrict access.