One of the key benefits of port forwarding is that it can also be used within a single machine. Port forwarding is necessary for a standalone computer if any of the following conditions are true:
The computer is using a shared IP address.
The Windows Internet Connection Sharing option is enabled and a NAT-enabled router is being used.