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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.