node.js - Simple web page will not run on xbox one edge browser -
i starting learn html, css, , nodejs, , after writing couple of basic web pages tried run them on computer, , view page on xbox-one edge, each 1 (no matter how simple) says "application not supported, webpage tried start application, such email program, not supported on xbox". i've tried using node html library express library, , without html/css.
one code not work on xbox: server.js
var http = require('http'); var server = http.createserver(function (req, res) { res.writehead(200, {"content-type": "text/plain"}); res.end("hello world!"); }) var port = 1021; server.listen(port); console.log("server running on 192.168.0.15:", port, '\n');
i can't find online, appreciated
well after lot of trial , error found out simple problem, putting 192.168.0.15:12345 address bar wanted http://192.168.0.15:1021.
Comments
Post a Comment