Question Port forwarding API not working

Impala640

Prominent
Aug 17, 2019
305
11
695
0
Hello, I have built an API and am ready to release it to the world however my port forwarding process doesn't seem to be working. I have a Bell Modem and a TP-Link router, I have the API running on port 80, I am port forwarding my servers IPv4 Address, on my laptop it will not load no matter what. The only way I can currently access the API is by typing localhost:80 on my server. When doing 192.168.0.102:80 on my server it still doesn't work even though localhost is an alias for 192.168.0.102. I really have no idea what I am doing wrong. Any help would be appreciated. Thank you
 

Impala640

Prominent
Aug 17, 2019
305
11
695
0
Hello, I have built an API and am ready to release it to the world however my port forwarding process doesn't seem to be working. I have a Bell Modem and a TP-Link router, I have the API running on port 80, I am port forwarding my servers IPv4 Address, on my laptop it will not load no matter what. The only way I can currently access the API is by typing localhost:80 on my server. When doing 192.168.0.102:80 on my server it still doesn't work even though localhost is an alias for 192.168.0.102. I really have no idea what I am doing wrong. Any help would be appreciated. Thank you
I ended up fixing my issue, I needed to cast to 0.0.0.0 instead of 127.0.0.1 That allowed me to port forward and connect from any PC. Thanks!
 

ASK THE COMMUNITY