 |
|
 |
I got the error socket connection failed
|
|
|
|
 |
|
 |
Hey, Friends.
I couldn't connect to RExecService using RExec. But PSExec did the trick OK.
And PSExec has a forum at Sysinternals website (inside Micro$oft site). This tool is inside the PSTools suite, programmed by Mark Russinovich.
Good luck.
|
|
|
|
 |
|
 |
Hi There, Executed rexec ipaddress notepad, after giving user name and passwd (local account) i get below error <pre lang="vb">> rexec:connect:Connection refused rexec: can't establish connection</pre> No firewall.
|
|
|
|
 |
|
 |
There is more than one rexec. Rexec also exists as a Windows command. You can read about that command here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rexec.mspx?mfr=true[^]
The Windows version of rexec will prompt you for username and password, the version provided here does not. Because the Windows version exists within the system path, it will be called if you don't properly call the one provided here. If you have the copy provided here in the directory where you are calling rexec, then it will use that rexec. If you don't have it there, then it will call the Windows version. Both are similar, but there are differences (for one, this version doesn't seem to redirect standard output to the caller, but the Windows version does). Also, the Windows version requires username and password, whereas this one does not (thus an easy way to tell which one you are calling).
Double check and make sure that the directory you are calling rexec from has a copy of the rexec.exe from this site.
|
|
|
|
 |
|
 |
I have the program working locally on one windows xp pro machine but can't install service in windows 7.
Anyone suceeded?
|
|
|
|
 |
|
 |
For connection problems, make sure your firewall isn't blocking. Also, make sure the service is running and set to start up automatically.
For people having problems with running programs, start small. Pull up notepad on the remote computer without the parameter on the end. It should look something like this:
rexec 123.21.61.12 notepad.exe
If that pulls up notepad on the remote system, you are set. If you have problems with applications not running correctly, I suggest creating a batch file on the remote system that does pull up the application correctly. Once you get the program working through the batch file, you can use that to troubleshoot (maybe path/spelling was wrong, incorrect switches, etc). Or you could just use rexec to call the batch file and you are done.
Also to note, pulling up something from a direct path requires the path to be in quotes. Example:
rexec 10.1.1.151 "c:\test.exe"
|
|
|
|
 |
|
 |
Hello,
Can I specify User name to start the service rexecService.exe ? Default user name is 'Local System' and that's the reason I'm not able to access share folder in other machine.
I have a folder shared on a machine A running windows server XP with read & Write access to everyone. On machine B i have a windows service(rexecService.exe) running under LocalSystem Account. The service (in m/c B)is not able to access the files in the shared folder inspite of having set read write access to everyone.
However, I can access the shared folder in A as an Administrator of machine B. Please help me in this regard.
Thanks in advance.
|
|
|
|
 |
|
 |
I get this message when i run the program.
rexec.exe 192.168.xxx.xxx c:\notepad.exe
"This application has requested the runtime to terminate it in an unusual way.
Please contact the application´s support team for more information."
Whats wrong?
|
|
|
|
 |
|
 |
When i tried to run the program remotely, "Socket Connection Failed" error message is dispalyed. Can anyone please help me out.
Yugandher
|
|
|
|
 |
|
 |
I get the same error, anyone know how to fix this?
|
|
|
|
 |
|
 |
I also got the same error
|
|
|
|
 |
|
 |
Most likely you have not started the service on client PC. Could be a firewall issue as well.
NAX
|
|
|
|
 |
|
 |
Most important you must enter "rexecservice" in the firewall exceptions for the PC running the service.
I installed the service on and "XP Home" PC following the instructions.
I ran "rexec" on a Vista PC on the network and got the "Socket Connection Failed".
I entered the service into the firewall exeptions and ran rexec again - bingo it worked perfectly.
|
|
|
|
 |
|
 |
Hi.
I think it will be greate if you could add synchonious execution. E.g. the rexec process will wait until the remote process will terminate.
Elad Raz
CTO,
RazTech
http://www.raztech.co.il
|
|
|
|
 |
|
 |
Is it possible to capture the output of a program run remotely with rexec?
sdev400
|
|
|
|
 |
|
 |
Any one has sucess in using this. I am getting error as connection refused.
|
|
|
|
 |
|
 |
When I run "rexec ip app" I am getting a "Name (ip:username)", I type a username and then is asking me for a "Password (ip:username)", I type the password and finally I get an error ">rexec:connect:Connection refused" next line "rexec: can't establish connection".
If anyone can help me I will really appreciate it.
José
|
|
|
|
 |
|
 |
I had the same problem. Two things I did fixed this problem (I'm not sure what's necessary, but doing them both fixed my problem)
terminology: server computer wants to submit a program for remote execution on a client computer.
1) I had followed the CLIENT computer instructions on the SERVER computer. (running rexecServices -i, and changing settings in services manager). I undid these steps. (Right-click "Remote program Execution," and select "stop," and delete rexecService folder entirely, just to be sure)
2) The Server computer must be in the folder where you unzipped the rexec.exe program. If you're in any other folder, it will run, but will ask for username and password.
Good luck!
Jessica
|
|
|
|
 |
|
 |
Hi Jessica,
Did you get rexec to run ok? I am a bit confused on the steps you posted. I am still getting the username and password.
Thanks
William
B_L_A_D_E_S@hotmail.com
|
|
|
|
 |
|
 |
Hi William,
Sorry for the confusing steps. Looking back on it, I suggest you ignore my "step 1" Clearly I was just confused, making mistakes, and then undoing them. One would hope this doesn't affect the program's execution. In which case the only suggestion I have to offer you is my "step 2"
I didn't end up using rexec in the long-run, and this message was a long time ago, so I really don't have any other useful advice to offer you now. Sorry. Anyone else out there?
-Jessica
|
|
|
|
 |
|
 |
I am trying to remotely execute a program called Printwiz and it just hangs in the DOS window. Any ideas?
Thanks,
Marc Holzer
|
|
|
|
 |
|
 |
Thanks for this great utility, very useful!
|
|
|
|
 |
|
 |
Fantastic
It resolved issues .Thanks A lot
|
|
|
|
 |
|
 |
I also want to say this is a great utility. I have tried a few of the famous ones and couldn't get any of them to work. This thing worked perfectly the very first time! My gratitude to the author.
|
|
|
|
 |
|
 |
Are there other hidden options for rexecServer.exe besides -i?
I would like the server process to use a login other than system. Is this supported?
marlene
I take back the good job part. This server is not dependable at all. I just tried to bring up notepad and it didn't succeed. Now it only succeeds about every 7 to 8 attempts.
|
|
|
|
 |