Solved

Is there any way to determine if Internet access is blocked by Windows firewall?

Posted on 2016-08-05
4
27 Views
Last Modified: 2016-10-09
I have a program that accesses an online server for information. 98% of the time there is no problem. But it seems that 2% are being blocked by the  Windows firewall. Particularly with Windows 10.

Is there any way programmatically to determine whether Internet access is being blocked by the firewall? If so this would be very helpful to avoid support questions.

Any help would be appreciated.
0
Comment
Question by:TheIronDuke
4 Comments
 
LVL 20

Accepted Solution

by:
Daniel Van Der Werken earned 500 total points
ID: 41744348
You may have possible various options.

One is to use the Windows Firewall Log to determine what is being blocked.

Another might be to perform some fancy COM Interop programming to examine this issue.
0
 

Author Comment

by:TheIronDuke
ID: 41747456
Perfect. Just what I needed. Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question