I'm trying to publish some software to an FTP site with Visual Studio (VS) 2015 community, The output window shows an error
An error occured trying to enumerate the contents of folder ''. An unknown WinINet error has occurred (code 12113).
After some Googling, it shows this issue is caused by the Firewall.
As it's fairly safe in my environment, I disable the W10 firewall, and retry and it publishes as expected.
The problem is, I don't understand how to make this an exception to the Firewall. I can't see what port the FTP is using any where, nor can I add it by program as I'd have to add the entire VS2015 which seems dangerous.
I have not manually or knowingly changed any settings in the Firewall.
How do I permanently allow FTP access from VS2015?
Edit
Within each profile (Domain, Private and public) all are set to allow outgoing connections. All incoming are blocked by default.
If I make only Domain allow for both incoming/outgoing (and other 2 profiles remain on default), nothing changes. If I then make public allow for both incoming/outgoing (and other 2 profiles remain on default), nothing changes. BUT... if I make Private allow incoming / outgoing (and other 2 profiles on default), then it works.
Naturally I don't want to leave private profile just 'open' like this.