remote-access

Monitor remote shared-Folder (Windows/SMB) using WatchService

不羁岁月 提交于 2020-01-04 03:00:47
问题 I am trying to monitor a remote folder using WatchService (java.nio.file.*). Everything works fine for local folders. However I was unable to figure out how to monitor a remote share. Can I pass credentials along? (If the user executing the code has the rights to mount the share it works as well.) Here are parts of my code: public void lunch() throws IOException { boolean recursive = true; Path dir = Paths.get("C:\\test"); new Watch(dir, recursive).processEvents(); } public Watch(Path dir,

Monitor remote shared-Folder (Windows/SMB) using WatchService

*爱你&永不变心* 提交于 2020-01-04 03:00:09
问题 I am trying to monitor a remote folder using WatchService (java.nio.file.*). Everything works fine for local folders. However I was unable to figure out how to monitor a remote share. Can I pass credentials along? (If the user executing the code has the rights to mount the share it works as well.) Here are parts of my code: public void lunch() throws IOException { boolean recursive = true; Path dir = Paths.get("C:\\test"); new Watch(dir, recursive).processEvents(); } public Watch(Path dir,

Connecting to a 2014 SQLEXPRESS database on an externally hosted computer through TCP/IP

荒凉一梦 提交于 2020-01-03 03:30:08
问题 I am working on a system whereby I can update a small database from several locations. I wish to host the database on my home computer and allow connections to be made to the database from two other locations through tcp/ip. I have done the following thus far: Enabled TCP/IP for SQLEXPRESS Allowed port 1433 tcp on my firewall Allowed port 1434 udp on my firewall Enabled SQLEXPRESS server to allow remote connections I was hoping to be able to connect to the database by opening sql management

Issue Connection to server using Remote-FTP atom package and Private Keys

安稳与你 提交于 2020-01-02 15:01:08
问题 I'm trying to connect to my server using the atom package "Remote-FTP" and using a private key. I have the SSH keys set up on my server and can connect successfully using putty. The private key is saved in my project folder and I have an existing .ftpconfig file (without a private key) that connects successfully when I replace the information inside the file. The Key has been converted to the necessary ssh format and I have no passphrase at the moment. I have also gave the full path of the

how i can access local web or database server remotely without static IP

流过昼夜 提交于 2020-01-02 05:22:10
问题 how i can access my local web server or database server access remotely without static ip address, i have desktop database driven app which is saving data in MS SQL server i want to access data on company current site hosted on bluehost, is there any way to access following points MS SQL server remote acces without static IP address Or I will write a web service in PHP connected with MS SQL database sending REST API information to online site how to access local web server without static ip

Mongo: network error while attempting to run command 'whatsmyuri' on host

孤者浪人 提交于 2020-01-02 01:55:31
问题 I have been trying to access my mongo instance from another machine, but I get this error. I could not find many references to this whatsmyuri error. This is what I get from the external machine: $ mongo <IP_ADDRESS>:27017/youtube_advertising -u user -p password MongoDB shell version: 3.2.0 connecting to: <IP_ADDRESS>:27017/youtube_advertising 2016-02-19T17:10:02.923+0100 E QUERY [thread1] Error: network error while attempting to run command 'whatsmyuri' on host '<IP_ADDRESS>:27017' : connect

Remotely change computer name for a Windows Server 2008 machine using C#?

此生再无相见时 提交于 2020-01-01 18:59:10
问题 Might someone be able to point me towards a conclusive resource to learn how to remotely change a computer name on a Windows Server 2008 machine using C# I've looked at lots of sites for help and now in day two of my task and not really any closer (other than deciding WMI is pretty much my only option) Totally out of my normal skillset so I guess pretty much any info would be nice, but especially anything having to do with changing a computer name remotely. (this would occur right after I

Kill a process on multiple remote machines

天大地大妈咪最大 提交于 2019-12-31 03:30:48
问题 I am looking as the title says to kill a process (for example name.exe) on multiple remote machines. I can do it individually using pskill or taskkill using (for example): pskill -t \ -u -p name.exe but this becomes impractical with 50+ machines. Is there a way to make it read a text file of IP Addresses like psexec does using the @C:\name.txt or in powershell or something similar? All devices are on the same domain. Thank you in advance for your help. 回答1: If you have a text file with a list

Current state and solutions for OpenGL over Windows Remote

谁说胖子不能爱 提交于 2019-12-30 04:49:05
问题 OpenGL and Windows Remote don't play along nicely. Solutions for this are dependent on the use case and answers are fragmented across the vast depths of the net. This is a write-up I wish existed when I started researching this, both for coders and non-coders. Problem: A RDP session of Windows does not expose the graphics card, at least not directly. For instance you cannot change the desktop resolution and GraphicsCard drivers usually just disable their setting menus. Starting a OpenGL

MobaXterm drag-and-drop panel missing

我只是一个虾纸丫 提交于 2019-12-30 01:59:06
问题 I need to run a program from my windows xP machine thats installed on a remote UNIX machine using MobaXterm but I have very little experience with this sort of thing. I can login into the machine using ssh and start the program without a problem. That program needs files that I have on my windows computer to process though and I want to copy them over to that remote machine. Unfortunately the drag-and-drop file transfer panel that is mentioned regularly on mobaxterm help sites isn't present