i am running lwip on top of a TAP device, if i am running a server application through the lwip interface i can connect to it from the same machine using the ip i have defined to the TAP device. if i use the client application on the lwip interface, i cannot connect to a server application on the same machine, nor do i have an outer connections to machines outside the machine i work on.
from what i understand, when i try to connect to a server application on the same machine i give the ip 127.0.0.1(loopback) as destination address for the server application(without the lwip/TAP device it worked) and i see traffic from the client to the TAP but no other traffic (using wireshark).
what am i doing wrong and why can i connect only from one end to the other and on the opposite direction?