Sunday, 15 September 2013

port bind AECCES in openshift node.js service for installing mediawiki parsoid -



port bind AECCES in openshift node.js service for installing mediawiki parsoid -

i trying launch mediawiki parsoid module, runs on openshift cloud node.js service as writen in extension page. when launch server.js, bind aecces message, assume caused port configuration problem have'nt been able solve.

i not much familiar issue of port listening in openshift node.js , thankfull such guidance.

i may have gotten you/us step closer. wanting deploy parsoid in openshift mediawiki installation. nail exact same issue have mentioned , next got me past it.

after set-up nodejs application, created "api/localsettings.js" changed these lines.

// allow override of port/interface: parsoidconfig.serverport = process.env.openshift_nodejs_port; parsoidconfig.serverinterface = process.env.openshift_nodejs_ip;

this utilises environment variables within openshift, running "node api/server.js &" creates next output.

[info][master][488070] initializing 7 workers [info][worker][488125] loading ... [info][worker][488125] ready on 127.9.185.129:8080 [info][worker][488143] loading ... [info][worker][488124] loading ... [info][worker][488139] loading ... [info][worker][488124] ready on 127.9.185.129:8080 [info][worker][488128] loading ... [info][worker][488129] loading ... [info][worker][488143] ready on 127.9.185.129:8080 [info][worker][488147] loading ... [info][worker][488139] ready on 127.9.185.129:8080 [info][worker][488128] ready on 127.9.185.129:8080 [info][worker][488129] ready on 127.9.185.129:8080 [info][worker][488147] ready on 127.9.185.129:8080

if command "ps", can see processes running.

pid tty time cmd 3129 pts/0 00:00:00 node 3172 pts/0 00:00:01 node 3173 pts/0 00:00:01 node 3175 pts/0 00:00:01 node 3176 pts/0 00:00:01 node 3179 pts/0 00:00:01 node 3181 pts/0 00:00:01 node 3184 pts/0 00:00:01 node 6159 pts/0 00:00:00 ps 487157 pts/0 00:00:00 bash

i hope helps create 1 step forwards , not 2 steps back. haven't been able connect service yet, still working on this.

please maintain me (and others out there) updated if find else.

cheers, me.

node.js port openshift mediawiki mediawiki-extensions

No comments:

Post a Comment