Install Jot Server
That is my question. I have read the link that goes to title "How to install the Jot Server" and I don't understand anything. Is it posible that I can get help to install Messenger on my server? I have Name .. cheap
-
-
- · test
- ·
Point 2. Upload Jot Server files to any folder on your server. Does it mean that I can create a new folder with any name and past all files inside?
-
- · Kit Cloudkicker
- ·
It’s confusing and misleading. Should be in /opt/
http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/opt.html
So, something like...
/opt/jot-server
/opt/jotserver
/opt/jot
/opt/any-name-you-want
-
-
·
Alexey
-
·
In reply to test
- ·
Hello!
Yes, you can put server files to any folder. We usually create jot folder on the same level where you have folder with your site (usually near public_html).
-
·
Alexey
-
- · Shark
-
·
In reply to Alexey
- ·
hi! Alexey , may you help me figuot where was wrong?
1, server fold:
/home/username/jotservr
(website fold is: /home/username/public_html.
ssl file: /home/username/ssl.cert& ssl.key)
2, jot config:
{
"port":5443,
"mode":"",
"log":"log.log",
"domains":["*"],
"transformer":"sockjs",
"root":"/home/usrname",
"cert":"ssl.cert",
"key":"ssl.key",
"OFFLINE":0,
"ONLINE":1,
"AWAY":2
}
3, run
$ cd ~/jotserver
$ npm install
audited 111 packages in 1.427s
found 0 vulnerabilities
4, start
$ cd ~/jotserver
$ forever start app.js
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: app.js
5, telnet 127.0.0.1 5443
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
6, messenger app sttings:
Server URL for messenger
http://localhost:5443
7, firewall :
0.0.0.0/0 tcp:5443 permit
8, error:
https://www.website.com/page/messenger
Connecting ..........................................
----------------------------------------------------------------
where is the problome?
-
-
·
Alexey
-
·
In reply to Shark
- ·
Seems like link for connect is not correct http://localhost:5443 It should link for external connect but is not internal. Any user should be able to connect to your server from own browser, thus you need to define domain name here or external IP http://yourdomain:5443 . We don't use post number 5443, because it may be used by some anither server's tools. You may try to enable posrt number 5000 or another port.
As far as I see you have set as certificate root folder /home/usrname, you need to be sure that the both files ssl.cert and ssl.key are in /home/usrname.
-
·
Alexey
-
- · Shark
-
·
In reply to Alexey
- ·
Thank you! Alexey ,
jot server name jot.domain.com
1,messenger settings change to:
2, the cert and key file path:
/home/domain/ssl.cert
/home/domain/ssl.key
jot-server config:
{
"port":5000,
"mode":"",
"log":"log.log",
"domains":["*"],
"transformer":"sockjs",
"root":"/home/domain",
"cert":"ssl.cert",
"key":"ssl.key",
"OFFLINE":0,
"ONLINE":1,
"AWAY":2
}
3, forever list show there running:
info: Forever processes running
data: uid command script forever pid id logfile uptime
data: [0] X2v_ /usr/bin/node app.js 2063 2204 /home/domian/.forever/X2v_.log 0:0:5:10.048999999999978
4, telnet [jot-server external ip] 5000
Connected to 55.*.*.100.
Escape character is '^]'
but on the internet, it's cant connected.
I check everywhere, closed system firewall, it's still didn't working.