?
Solved

PS Remoting issue

Posted on 2016-08-30
2
Medium Priority
?
75 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
footech earned 2000 total points
ID: 41776872
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 13

Author Closing Comment

by:Dustin Saunders
ID: 41778153
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article will help you understand what HashTables are and how to use them in PowerShell.
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 …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

743 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