Hello, 

this is what I use to boot my tiddlywikis on a server:

Following command is run on a remote login shell with ssh:

tiddlywiki --server 8086 "$:/core/save/all" "text/plain" "text/html" "iani" 
"" "larigot.avarts.ionio.gr" &
Then I can see my wiki at: 

http://larigot.avarts.ionio.gr:8086

Note: When I issue the command, the current path of the shell must be the 
top level of the folder containing the wiki that I want to serve.

You can change the port number or the name of the server to suit your needs.

Iannis Zannos 


On Monday, September 29, 2014 9:15:22 PM UTC+3, Jackson Pires wrote:
>
> Hi!
>
> How I can change the ip address and port from server listener?
> It's possible to let the server listen any incoming request on a specific 
> port?
>
> These my questions are because after I run the server (like below), and 
> I'm trying to request via browser from other computer on the same lan, the 
> server never response the resquest.
>
> *~$ tiddlywiki sotipafwiki --server*
> *Serving on 127.0.0.1:8080 <http://127.0.0.1:8080>*
> *(press ctrl-C to exit)*
>
> In other test I run the script:
>
> *var http = require('http');*
> *http.createServer(function (req, res) {*
> *  res.writeHead(200, {'Content-Type': 'text/plain'});*
> *  res.end('Hello World\n');*
> *}).listen(1337, '127.0.0.1');*
> *console.log('Server running at http://127.0.0.1:1337/' 
> <http://127.0.0.1:1337/'>);*
>
> Then I get the same error, but when I change the ip address for nothing, 
> the resquests are accepted.
>
>
> *var http = require('http');*
> *http.createServer(function (req, res) {*
> *  res.writeHead(200, {'Content-Type': 'text/plain'});*
> *  res.end('Hello World\n');*
> *}).listen(1337, '');*
> *console.log('Server running at http://127.0.0.1:1337/' 
> <http://127.0.0.1:1337/'>);*
>
>
> Sorry my noob questions, and sorry my poor english.
>
>
> -- 
> "Não sejas sábio aos seus próprios olhos..."
> ==============================
>
>
> Jackson Pires de O. S. Júnior 
> ~~~~~~~~~~~~~~~~~~~
> Paulo Afonso - BA
>
> About me: http://about.me/jacksonpires
> Mania de Concurseiro: http://maniadeconcurseiro.com.br
> Aulas de Ruby on Rails para iniciantes: 
> http://www.youtube.com/user/jacksonpiresjr
>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to