+ 2
How can I test if my computer's ip is correctly port forwarded
I need to test if my computer's ip is correctly port forwarded because when i do that from my router it says that i did it correctly but when i try to connect to it, it says that the ip is not online. I know that there are a big number of software that can do that but they are full of viruses and ads. It will be greater if i can do it in python because i work from different computers with different os. i'm sorry for my bad english
8 ответов
+ 1
do you have a public ip from your isp. if its behind nat it wont matter how you portforward you wont be able to connect.
I think portforward.com provides service to test this or you could just portscan your address from external network.
without you being outside your servers network you cant realiably test your forwardings unless you have a great router that has firmware that actually allows changing this firewall rule.
ask a friend to try and connect if you cant do it with a phone or other device.
depending on your service you could just write custom tcp requests with ex socket module or you could just use realible port scanning software ex. nmap
+ 4
I can't help you with this but your English is not bad
+ 3
are you sure you are using the correct ip? you need to use your external ip and also be outside of your network and specify the port you forwarded to test it
+ 1
yes i'm sure
+ 1
if you did everything correct and it doesnt work, you didnt do everything correct :p
+ 1
ok
i'll do a new try
+ 1
assign your pc a static ip in your router so can make sure your ip's arent wrong
+ 1
I didn't think that
thanks