Doesn't work
Hi I installed x86 nodejs on my windows vps
i run this command on command line : Pm2 start mtproxy.js -i -1 Because when i type Pm2 start mtproxy.js -i max A lot of cmd window will open and close consistently and never stops
Above that Its dont working I also opened my custom port on firewall
- Provide your nodejs version and pm2 versions please (node -v and pm2 -v)
- try running:
node mtproxy.js
@p1ratrulezzz 1- node ver =8.11.2 | pm2 ver = 2.10.4 2-tried, same result
Provide also logs you have (the output of node mtproxy.js). It will be much useful
Or better save your time and install it on a Linux vps (any server os, Ubuntu or debian will be easier )
I guess that you see icons because of this
exec('/usr/bin/prlimit --pid ' + process.pid + ' --nofile=81920:81920', (error, stdout, stderr) => {});
This will work only for Linux. Try commenting this line or delete it then start again.
@p1ratrulezzz Unfortunately I haven't Linux server The log of "node mtproxy.js" is
Connection per seconds :0 dc1:0 dc2:0 dc3:0 dc4:0 dc5:0
So actually it works. You have to forward the port you using through your router to your pc if not connected directly to the Internet. Also, you must have public ip (not the private like 10.10.1.2 or 192.168.1.67 and etc.
чт, 31 мая 2018 г., 21:02 Alias321 [email protected]:
@p1ratrulezzz https://github.com/p1ratrulezzz Unfortunately I haven't Linux server The log of "node mtproxy.js" is
Connection per seconds :0 dc1:0 dc2:0 dc3:0 dc4:0 dc5:0
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FreedomPrevails/JSMTProxy/issues/10#issuecomment-393621464, or mute the thread https://github.com/notifications/unsubscribe-auth/AEyYFRUroWqHy0rGNg7y9bSHC0xs2nDlks5t4DBAgaJpZM4UTeEU .
@p1ratrulezzz do you know a free linux server provider?
@Alias321 there is no free VPS provider. Install on your PC virualbox or vmware player and setup Ubuntu in it. Or maybe pay 5$ and create a droplet on digital ocean. cloud servers are really cheap
installed it on an AWS server. have same issue
lots of these in logs:
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
0|mtproxy | Connections per second: 0 DC1: 0 DC2: 0 DC3: 0 DC4: 0 DC5: 0
Telegram says connecting...
npm v6.1.0 node v10.3.0
i found the problem copy files to root of C drive create a batch file with below commands
cd\ c: pm2 start mtproxy.js -i max
use windows scheduler to run whether user is logged on or not and execute the batch file
@p1ratrulezzz thank you so much sir
Had the same problem in ubuntu 16.04.
Solved for me with running with sudo permissions.
Just run sudo pm2 start mtproxy.js -i max