Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.javascript > #8186 > unrolled thread
| Started by | Gulp® <gulp@hotmail.it> |
|---|---|
| First post | 2017-03-16 10:09 +0100 |
| Last post | 2017-03-17 08:48 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to it.comp.lang.javascript
node.js su web server windows Gulp® <gulp@hotmail.it> - 2017-03-16 10:09 +0100
Re: node.js su web server windows Alessandro Pellizzari <shuriken@amiran.it> - 2017-03-16 10:28 +0000
Re: node.js su web server windows g4b0 <email_sul_mio_sito@che_leggi_in.firma> - 2017-03-17 08:48 +0100
| From | Gulp® <gulp@hotmail.it> |
|---|---|
| Date | 2017-03-16 10:09 +0100 |
| Subject | node.js su web server windows |
| Message-ID | <oadknp$12ja$1@gioia.aioe.org> |
Ho scoperto da poco dell'esistenza di Node.js e mi sarebbe molto utile poterlo utilizzare. Spulciando in internet vi sono molte guide che spiegano che Node.js può ANCHE essere utilizzato in locale sul computer e, più o meno tutte le guide spiegano come installarlo su pc windows. Bene, a me Node.js servirebbe non in locale, ma online, come si fa ad installarlo su un web server windows? L'utilizzo è legato alla necessità di aprire online un database access residente sul server da una pagina web, senza dover installare nulla sul pc client. E' possibile? -- Gulp® -- "Partimque figuras retulit antiquas, partim nova monstra creavit." (La Metamorfosi - Ovidio)
[toc] | [next] | [standalone]
| From | Alessandro Pellizzari <shuriken@amiran.it> |
|---|---|
| Date | 2017-03-16 10:28 +0000 |
| Message-ID | <eiv7lmFd0uoU1@mid.individual.net> |
| In reply to | #8186 |
On 16/03/17 09:09, Gulp® wrote: > Bene, a me Node.js servirebbe non in locale, ma online, come si fa ad > installarlo su un web server windows? Premesso che non so niente di come installare e/o amministrare servizi su Windows, quello che ti posso dire e` che il server deve avere supporto per node.js, quindi scordati di usarlo su un hosting condiviso. Bye.
[toc] | [prev] | [next] | [standalone]
| From | g4b0 <email_sul_mio_sito@che_leggi_in.firma> |
|---|---|
| Date | 2017-03-17 08:48 +0100 |
| Message-ID | <b508c9be-b7cf-95a2-5df1-80fa4c9b1627@che_leggi_in.firma> |
| In reply to | #8186 |
On 16/03/2017 10:09, Gulp® wrote:
> come si fa ad installarlo su un web server windows?
Nodejs permette di eseguire codice JS al di fuori di un browser.
Con il modulo http diventa a tutti gli effetti un webserver [1]. Cosa
intendi per "installarlo su un web server"?
[1] Semplice webserver di esempio, in ascolto su 127.0.0.1:9999:
var http = require('http');
var server = http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Ciao Mondo!');
})
server.listen(9999, '127.0.0.1');
console.log('Server in ascolto su http://127.0.0.1:9999/');
--
g4b0, linux user n. 369000
http://brosulo.net
[toc] | [prev] | [standalone]
Back to top | Article view | it.comp.lang.javascript
csiph-web