'It' in your sentence refers back to the telephone number. The telephone number itself cannot respond to you. The response is from the person the number belongs to.
So you need to say something like
Yesterday I tried your phone number but there was no answer/no reponse.
I called your number yesgterday but there was no answer. (more natural).
Nano, if you mean the call went through, but no one answered: Yesterday I tried your phone number, but no one answered. or Yesterday I tried your phone number, but there was no answer.
However, if you mean that the number was somehow wrong, and didn't go through: Yesterday I tried your phone number, but I was not able to get a connection. or Yesterday I tried your phone number, but it did