When I'm running the truffle compile cmd getting the prompt "Everything is upto date." ABIS folder is created but the corresponding file related to contacts are not there. Basically, the folder is empty. Ganache is running, settings are correct. Please see the attached screenshot for more info. But when I run truffle console it says "unbale to connect to the server." Anyone has any idea what's happening. I'm running windows.enter image description here


 networks: {
development: {
  host: "",     // Localhost (default: none)
  port: 7545,            // Standard Ethereum port (default: none)
  network_id: "*",       // Any network (default: none)

1 Answer 1


I solved this issue by installing ganache-CLI via WSL. Able to interact with the local blockchain now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.