Site icon WinCert

The WinRM client received an HTTP status code of 502

<p>If you have decided to try the new <a href&equals;"https&colon;&sol;&sol;www&period;wincert&period;net&sol;cast&sol;microsoft-releases-windows-admin-center&sol;" target&equals;"&lowbar;blank" rel&equals;"noopener noreferrer">Windows Admin Centar<&sol;a>&comma; a browser-based management tool that allows you to manage an entire Windows Server&comma;  Windows 10 desktops&comma; and even Azure Stack HCI infrastructure you could run into the following error&colon;<&sol;p>&NewLine;<p><strong>Connection error &&num;8211&semi; Connecting to remote server &percnt;FQDN Server Name&percnt; failed with the following error message&colon; The WinRM client received an HTTP status code of 502 from the remote WS-Management service&period;<&sol;strong><&sol;p>&NewLine;<p><img class&equals;"alignnone wp-image-4015 size-full" title&equals;"WinRM client received an HTTP status code of 502" src&equals;"https&colon;&sol;&sol;www&period;wincert&period;net&sol;wp-content&sol;uploads&sol;2020&sol;12&sol;winrm-client-received-an-http-status-code&period;png" alt&equals;"WinRM client received an HTTP status code of 502" width&equals;"536" height&equals;"225" &sol;><&sol;p>&NewLine;<p>This error usually occurs when you&&num;8217&semi;re using a proxy server in your environment&period; It can be easily solved by following these steps&period;<&sol;p>&NewLine;<p>Open <strong>Command Prompt &lpar;CMD&rpar;<&sol;strong> in an elevated mode <strong>&lpar;Run as Administrator&rpar;<&sol;strong><&sol;p>&NewLine;<p>type the following command&colon;<&sol;p>&NewLine;<p><strong>netsh winhttp show proxy<&sol;strong><&sol;p>&NewLine;<p>If you can see that you have a WinHTTP proxy configured please use the following command to turn it off&period;<&sol;p>&NewLine;<p><strong>netsh winhttp reset proxy<&sol;strong><&sol;p>&NewLine;<p>Now type again the first command and you should receive the following input&colon;<&sol;p>&NewLine;<p><img class&equals;"alignnone size-full wp-image-4016" src&equals;"https&colon;&sol;&sol;www&period;wincert&period;net&sol;wp-content&sol;uploads&sol;2020&sol;12&sol;netsh-winhttp-reset-proxy&period;png" alt&equals;"" width&equals;"304" height&equals;"66" &sol;><&sol;p>&NewLine;<p>Please have in mind that WinHTTP proxy is different from IE proxy that won&&num;8217&semi;t be altered with this change&period;<&sol;p>&NewLine;<p>Hope this helps you to solve The WinRM client received an HTTP status code of 502 error message&period;<&sol;p>&NewLine;

Exit mobile version