El Capitan Unable to Connect to Localhost Server Via External Device in LAN - macos

Trying to test a local web app developed on my mac running El Capitan using my iPhone. I'm able to pull up the web app using my internal ip on the actual mac, but when using another device connect to the same network it's not working. This use to work fine on previous versions of osx, but ever since upgrading to El Capitan, this hasn't been working properly.
Any hints or solutions to this problem?
Thanks

I have a website on my Mac running off MAMP. I couldn't connect to it via IP on another computer. I turned off the firewall on the Mac and could connect by just typing in the IP into the address bar. Mine happened to be 192.168.1.69. To get the actual website, I did have to include the port number, i.e 192.168.1.69:8888. Make sure that you are using your private IP, not your public one (should start 192.168.X.X or 10.X.X.X). This worked to connect from another computer and from my phone.

Related

How do I connect MacOS Lion via samba to Ubuntu?

I have an old iMac running 10.7.5. I am trying to connect to my Ubuntu file server (running 22.4.1 LTS) to save a huge amount of data before discontinuing the iMac.
Every time I try smb://192.168.1.5, I get "There was an error ... please check the server name or IP address...".
Using the same method and IP address on my Mac mini using MacOS 13.1 gets me connected without issues.
I tried using "cifs://192.168.1.5", but got the same error.
I also tried going to System Settings to turn on File Sharing (although this is for sharing files that are ON the iMac) because I read that turning this off and on might fix this issue. This is not the case.
Since I am not well versed with older Mac systems, I am unsure on how to solve this. Any ideas would be welcome.

Delphi - Checklist for PAServer Connection (Mac OSX)

I have spent the better part of a day trying to connect to PAServer on MAC OSX from my Windows PC with no luck. I am not sure what I am missing.
I am using Delphi 10.2 Tokyo on Windows. Trying to connect to PAServer 19.0 on a Mac Mini running macOS Sierra (10.12.4) on which I already have XCode (v8.3.2) installed along with Command Line Tools.
Both the dev machine as well as the Mac Mini are connected to the same Wifi network. I even tried connecting both machines to a different network but with the same issue.
I get the same error message every time that the connection failed. I suspect that it has something to do with the network - where the 2 machines cannot see each other, but I don't know how I can confirm this or resolve it. I have tried to search on SO as well as online but have not found anything that has helped.
Has anyone seen this issue and overcome it? Is there a set of steps I can go thru to troubleshoot this? Any help or guidance would be most appreciated!
OK - I kept trying out different things and was able to solve this issue (one way to solve it I guess).
Because it seemed like it was network related, I tried first to create a hotspot with my phone and connected the dev machine and the Mac Mini to it. The PAServer connection worked.
So I looked for a way to do this via Windows. Here are the steps I followed:
Open Settings > Network & Internet (on Windows 10)
Go into Mobile Hotspot and select Wi-Fi in the Share my
Connection From dropdown
Set a Network name and Network password
Turn on Share my Internet connection with other devices
Now on the Mac, connect to the network name we set up in step 3 and enter the password that was set. Then start PAServer on the Mac. That's it!
Now when you connect from Delphi to PAServer, the connection succeeds.
Note: Interestingly, when I was not using the mobile hotspot method on Windows, the IP address on PAServer (and on Windows) was 10.xx.xx.xx. With the mobile hotspot, the IP address is 192.xx.xx.xx.
I just configured (today) a new macos sierra with paserver. yes it's painfull :(
don't use virtualbox (it's buggy and slow), but use instead VMware, it's work like a charm. it's much more easy to have only one computer to develop than 2. also you can copy/past the log or anythink else from macosx to windows (or vice-versa) in just one click. and you will not have any internet problem or anything else ...

reinstalling Mac OS Mavericks via internet however I need to setup DNS to connect to internet

I am trying to reinstall my Macbook Air following this instructions: https://support.apple.com/en-us/HT201376
On step #8, reinstalling the OS, I am getting the information that I am not connected to the internet. I was able to connect to the wifi however I still need to enter the DNS info to connect. That's how the WIFI here was setup.
Any suggestions?
thanks!

Connect to Laravel Homestead, Vagrant running on Mac from iPad and iPhone

Is it possible to connect to my Laravel projects running on my Mac using Laravel Homestead from my iPad and iPhone?
When I go to the IP address of my Mac from either my iPad or iPhone I get the error:
Safari cannot open the page because it could not connect to the server.
I'm sure I have done it in the past but I can't remember how. (That's if I did in the first place.)
By default, port 80 on the Vagrant VM is mapped to port 8000 on your computer. You should be able to open http://<ipcomputer>:8000 on your iPhone/iPad.
If you have multiple sites defined in your ~/.homestead/Homestead.yaml file, you will need to comment out the ones you don't want and provision the Vagrant machine again, otherwise, you cannot be sure which one of your sites will show up.

Accessing Meteor local web server from another local device on Mac 10.8

I am working on a Meteor website and conveniently, it will run on localhost with the simple command, meteor. However, I want to be able to access this website from other computers on the local network. The main reason I want to do this is for viewing and testing the app on mobile.
I am running Mac Mountain Lion 10.8, and they got rid of some of the convenient Personal Web Sharing pref panes. Everything else I have seen online deals with setting up your own server, but all I want to do is grant access from other local device...
Thanks
Find out your ip address 192.168.1.12 (mac system prefs/network)
start meteor in your project on a port (default 3000)
from another comp on network, browse 192.168.1.12:3000

Resources