ECONNREFUSED 'IP:PORT' When trying to login


Topic: ECONNREFUSED 'IP:PORT' When trying to login

jhewes free asked 2 years ago

Error:Connect Econnrefused at IP:PORT TCPConnectWrap.afterConnect [as oncomplete]

I am just trying to login and its not allowing me. It works for me on my home computer but when using my work laptop its giving me issues. Is there a work around for this? My job does use a DNS so I am not sure if that could be causing these issues.

Ive spent the better half of my day trying to resolve it and I have no clue whats going on. Any help would be fantastic.


Sebastian Kaczmarek staff commented 2 years ago

Are we talking about the https://mdbootstrap.com website itself? Or is it a problem with an app created with MDB? It's not clear for me because the question is posted under Angular technology so that's why I want to clarify this


jhewes free commented 2 years ago

Sorry, its when I am using CMD to login to MDB within an angular project.


Arkadiusz Idzikowski staff commented 2 years ago

@jhewes please provide more details about your problem. Which of our products do you use?


jhewes free commented 2 years ago

I am using MDB-CLI Standard version. I install it all exactly as described and every time I go to login I get this error.

Error: connect ECONNREFUSED 93.105.88.243:3031 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14) errno: 'ECONNREFUSED', code: 'ECONNREFUSED', syscall: 'connect', address: '93.105.88.243', port: 3031


Sebastian Kaczmarek staff commented 2 years ago

Does the problem still occur when you try to connect to a different network? Are you in some kind of VPN or something? It looks like it's not on our side because everything is fine with the server (we can log in without any problems)


jhewes free commented 2 years ago

I don't believe its a VPN. I am using the intranet instead of internet though. I use it on my home computer no issues, its my work computer that is giving me the issues. I disabled the firewalls. I also set it up to allow connection to that IP and port. How can I test this to be 100% sure that the server is being blocked?


Sebastian Kaczmarek staff commented 2 years ago

Well if you can log in via CLI then it means that it's fine and everything should work now. We only use HTTP connections so no other ports need to be opened. If you cannot even login and receive an ECONNREFUSED error then it means that something is still blocking the outgoing traffic. Make sure that both outgoing and incoming traffic is allowed in your firewall for this IP and port.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.8.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No