After enabling Remote Desktop as shown, then connect with the remote Mac to change the user's ssh access via System Prefs. To connect to the remote Mac, go to the Finder and select Connect to Server under the Go menu. Type in the Server Address for your computer: vnc://x.x.x.x Where x.x.x.x is the remote computer's IP address or URI. Configuring your Mac OS X Computer for RemoteApp and RDWeb Prior to configuring/using RemoteApp and RDWeb, you must download and connect to the SU VPN for Mac OS. In addition, you must have Mac OS X 10.7 or newer. ![]() The commands in this article work with Apple Remote Desktop 3.2 and later. ![]() First you need to determine the ip address or name of the machine you are running the webserver on. I'm assuming you are running the webserver on a mac since you tagged your post macosx athough the instructions are similar for linux machines. So, on your mac: • Open Terminal.app. It's under Applications->Utilities. • Run ifconfig in the terminal. That shows you all the network interfaces on the machine. One of them is the network your machine is actively connected to. If you mac is on a wired connection that should be en0. Make a note of the address after inet - that should be the address your machine uses. • Let's assume you discover it's 192.168.10.1. • Verify that you can connect to that address from your server with nc -v 192.168.10.1 3000. • You should see a message like Connection to 192.168.10.1 3000 port [tcp/http] succeeded! • If that doesn't work, see below. • If it does work, hit ctrl-C to exit the nc session. • Now try to connect on your client machine. • If this is a web app, you should be able to connect via the browser • For example, try If you are unable to connect to your application on the server's real address, that means your application isn't listening on that address. You will need to investigate how to change your application configuration to modify that behavior. Since I don't know what application you are running I can't offer any good ideas on that. Saanthosh: Look into port forwarding on your router. That's what I was doing before I discovered OSX's internet sharing feature (which apparently has been available since at least OSX 10.6). I did localhost testing on a variety of mobile devices in the same room/network as my OSX dev machine, made possible by standard/small changes to router configuration (ie port forwarding). Other articles and SO threads provide info on router configuration. Ultimately, I'm in a new location now and have no access to the router, so instead I use OSX (High Sierra) internet sharing to achieve the same thing. – Jul 14 '18 at 18:25. Basically, from firewall settings you can allow a certain application (e.g. Using excel for graphing on mac. Ruby) to accept incoming connections. Plus to allow access to the outside world (e.g www), you'll need to forward traffic to your internal gateway:port via your router settings. Here's how to do this: • Mac->Sys Preferences->Sharing->Enable “Web Sharing” checkbox • Mac->Sys Preferences->Security-> allow your application (e.g. Ruby) to accept incoming connection • Open a port on the router (via 192.168.1.1) to forward traffic from your_web_ip:port to a local_gateway:port • E.g. From my Verizon's router settings -> Port Forwarding -> create rule: forward to local gateway (e.g. 192.168.1.4), custom port, protocol tcp, source=any, destination=3280, all connection types, forward to port = 3000. Now from the remote computer, open your browser to your web ip address (find via ) + destination port# above, e.g. 72.189.1, this will connect to your local 192.168.1.4:3000 Note: I'm running on Mac OSX 10.7.5.
0 Comments
Leave a Reply. |