Problem with connection to blynk and raspi 3

I been browsing through the forum to solve my issue. This is probably repeated issue but I still cant solve it.

This is the error i get when trying to connect

pi@raspberrypi:~ $ blynk-client 2f9116df0bb94dee8e6d8431765655fa

    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/

  Give Blynk a Github star! => https://github.com/vshymanskyy/blynk-library-js

OnOff mode
Connecting to: blynk-cloud.com 8441
{ Error: connect ECONNREFUSED 188.166.206.43:8441
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '188.166.206.43',
  port: 8441 }
Connecting to: blynk-cloud.com 8441
{ Error: connect ECONNREFUSED 188.166.206.43:8441
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '188.166.206.43',
  port: 8441 }
Connecting to: blynk-cloud.com 8441
{ Error: connect ECONNREFUSED 188.166.206.43:8441
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '188.166.206.43',
  port: 8441 }


one of the suggestion in the forum is to change the port number but nowhere mention how to do this. (sorry if i cant find it if there is) Where can i do this? I don’t want to define it on my sketch, everytime.

this would be easier to do in arduino though but this time i need to use Raspi.

As per searching - Search results for 'nodejs port 8441 order:latest' - Blynk Community

Depends where it is installed on your RPi… search for this file blynk-node.js on your RPi and change it as shown here… to 9443 or 443

BTW, since you do need basic config in each sketch anyhow, there is no reason not to define it there. At least it gives more control when switching between Cloud and Local Server, etc.

Done!

i know i should do this earlier! thanks gunner. save me a lot of time!