There are several ways to solve your problem.
You can provide access to your local machine. Therefore you have to check your firewall settings and normally open port 80 or 8080. Then you have to decide:
- When the second person is in the same local network, you
normally only have to share your local IP. To find out your local IP as a windows user, you have to open the command shell and type ipconfig. (Pay attention: in complex network structures this is not always the trick. Perhaps you have to contact your local admin.)
- When the second person is not in the same network, you can configure
a portforwarding on your router. To share your public IP you could
use an additional DYNDNS-Service (dyndns) or just spread the ip yourself (whatismyip). I would not recommend that solution
for a long time and you should only provide temporary access to a local service in your network.
You can also use a tunnel to offer a local service. For example:
Another solution would be to use a public webhoster. It's an affordable solution and you don't have to worry about any local issues. If you often want to offer your service or even run it 24/7, i would prefer this solution.
For experienced users there is also the possibility by bypassing the service with a reverse ssh portforwarding. For additional information i would recommend following blog-post: toic.org - reverse-ssh-port-forwarding.