Everyone want to talk to interesting people. Those sharing knowledge, ideas and experiences.
To be one, get ideas about fields other than what you’re working on. Try things people do not usually do. Try minimalism, fasting, podcasting and others. Read about history, how things work, children books, etc. Make these your default time companions, instead of Netflix.
Being interesting will help you grow personally and professionally. Anyone wants to talk to interesting people. And anyone wants to work with interesting people.