On the Pi, you have to bind the socket to an IP address of one of the Pi's interfaces. You cannot bind it to the PC's IP address.
If you want the socket to accept connections from all of the Pi's interfaces, you can use the IP address 0.0.0.0 (or :: in IPv6).
On the PC, the server IP should be an IP address that the Pi is bound to.
Let's say the Pi is ...
With DHCP enabled, if all is otherwise well, your Pi should get an address on your local network. You will be able to see it in your router's tables or as raspberrypi.local assuming your phone is mDNS-capable.
You now need to configure your microSD card to start SSH on boot. The "start SSH" part is covered in the link I posted in the comments. You want ...
I think your issue is having more than one static router defined in /etc/dhcpcd.conf. I got it working by following https://www.sbprojects.net/projects/raspberrypi/vlan.php
sudo apt-get install vlan
Then sudo nano /etc/network/interfaces.d/vlans
iface eth0.2 inet manual
Then nano /etc/dhcpcd.conf and add
This is often a problem when upgrading your pi. Try to restart, and if it doesn't help, try to ping 126.96.36.199(IP of google.com), and give us results
Edit: post result of:
I can't see any IPv4 in ifconfig, so it probably doesn't exist, which means you cannot connect to server with IPv4