0
This is related to this question PCs in same network can not communicate
My real problem was that I have a web application I want to test running in PC1 but I noticed I could not even ping the machine.
By opening firewall ping is possible.
By opening a rule for the port of the web application I need to access, I can reach my web application.
Problem:
It is not clear to me how can I safely add a rule to the firewall so that I don't have problems from public network.
I tried to specify a rule to open the port to be accessed from a specific address only, but it required the connection to be secure.
Mine isn't.
So how can I configure a safe rule in my case?
Are you on a private network that connects to a public one? You mention having a router in your other question, if so you can specify rules for public and private networks. – Supercereal – 2011-10-17T17:05:06.883
No private network.This is 2 PCs connecting to the same router and accessing the public Internet – user65971 – 2011-10-17T17:14:10.007
Thats impossible 2 PC's can't use the same public IP without NAT. There HAS to be NAT then, which is the same as a private network. Is the IP you are trying to ping a 192.168.x.x address? – Supercereal – 2011-10-17T17:19:32.127
Of course. Both IPs are like you say.I could not do
http://192.168.1.6:8080
without opening the port 8080 in firewall.But the PCs are also connected to the Internet.Isn't it risky to open the port? – user65971 – 2011-10-17T17:24:58.870Its perfectly safe to open a port. You are not going to get attacked, even if you do, you have to have a program that can be exploited which is doubtful if you keep your system updated and have security software. – Ramhound – 2011-10-17T17:44:57.690