@nprofile1q... adb reverse basically allows your device to access a port on your computer through usb as if it was local host, it basically connects two ports on your computer and device
so like adb reverse tcp:5800 tcp:5800
connects ports 5800 on your pc and 5800 on your phone, so if you connect to 127.0.0.1:5800 on your phone it will connect to the server on your desktop
forward does this in reverse and makes your desktop access your phone's port
so like adb reverse tcp:5800 tcp:5800
connects ports 5800 on your pc and 5800 on your phone, so if you connect to 127.0.0.1:5800 on your phone it will connect to the server on your desktop
forward does this in reverse and makes your desktop access your phone's port