Solved

PS Remoting issue

Posted on 2016-08-30
2
33 Views
Last Modified: 2016-08-31
I'm trying to establish a PSSession to a remote server in DMZ (not on the domain).  However, I can't seem to get connected.  

I've set trusted hosts, verified WinRM running, and firewall rules allowed.  Any ideas?

New-PSSession : [WW2WS101] Connecting to remote server WW2WS101 failed with the following error message : The client cannot connect to the destination 
specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs and documentation for the 
WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the 
destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see the about_Remote_Troubleshooting Help topic.
At \\dm3us001\Scripts\@migration\SUI\updateWebApplications.ps1:14 char:15

Open in new window

0
Comment
Question by:Dustin Saunders
2 Comments
 
LVL 39

Accepted Solution

by:
footech earned 500 total points
Comment Utility
Given the error message, and that it's in a DMZ, I would still suspect firewalls.  I would run a network capture on the machine in the DMZ to see if it is receiving traffic on TCP 5985 (assuming that's what you're using) when you try to establish a connection.
0
 
LVL 12

Author Closing Comment

by:Dustin Saunders
Comment Utility
Ended up being my mistake, in the firewall (which is all linux cmd line) I mistakenly had swapped the interface number on the pass in/out rules.

Thanks!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
This video discusses moving either the default database or any database to a new volume.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now