lesson- 9 localhost
deploy error
#2336
-
so |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 35 replies
-
@MasterofBlockchain : Is your hardhat node running in your other terminals as well ? |
Beta Was this translation helpful? Give feedback.
-
Hey @MasterofBlockchain you are getting this error because there is another service/process using the port |
Beta Was this translation helpful? Give feedback.
-
As for the discrepancy between the accounts: it is so because everytime you use the As for the error, it is so because of the same port being hosted somewhere else. Put simply, there is a terminal or some application which is hosting some sort of a HTTP-server (similar to the VSCode extension); which results in a collision as it is already in use. This can be resolved by either using a different port altogether, or eliminating the process hosting on the port you are hosting on. |
Beta Was this translation helpful? Give feedback.
-
@othaime-en I think there is a confusion here. let me rephrase what i have understood. ---When we run ---And when we run So how these above two are different from each other? What's the difference between deploying on ---And when we run I am sorry there is confusion going on. |
Beta Was this translation helpful? Give feedback.
Hey @MasterofBlockchain you are getting this error because there is another service/process using the port
8545
. In simple terms, you have another terminal that is already runningyarn hardhat node
use that terminal or kill it before you open a new one