How do you get people to care about you? How do you get a sense of belonging and mattering with/to others?

Maybe this sounds like a selfish question, but I think we, as humans, all need a sense of belonging and feeling like we are someone worthy of another person’s caring and support. I am lonely. I feel like I don’t have this sense of being important. I have my husband who I love very much, and I don’t know where I would be today without him, but I still feel lonely. My family is so far away that that it does not give me a sense of belonging.
I know I don’t open up to people a lot, I am quiet and I don’t like “hanging out” in large crowds. I know this limits opportunities for developing deeper connections, and this is maybe why I don’t have deeper friendships, but… I don’t know. I just feel very lonely and like I don’t have a place right now. I want someone to want to care about me. I get mad (at myself) that perhaps I make this hard for people to do.