Creating a queue. qmgr: cannot connect

Can you run this command and check the output
qmgr -c “print queue @default

Also, please check these pre-requisites :