Hi,
I have a ColdBox site running on my Mac using the ipaddress to start the server with the host parameter using CommandBox:
server start host=#currentLanIP#
This fires the server to the given IP, and I can browse the site on the OSX machine locally. Firewall on OSX is off for this test. I can not surf using other machines on the same network. Is there some settings I’m missing. Thanks.
Brgds,
Ken
Use netstat to confirm the IP address that the port is bound to. Chances are you have another firewall at play or a network routing policy. This should work fine. Perhaps you can troubleshoot with nmap on another PC to see if the port is reachable.
If you are just wanting to do a temporary share of a site, then you can look into the NGrok module.
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com
I moved the OS X machine to a different network, and it works now. Using nmap I could see that OS X reported the server port beeing open. Will test some more with the firewall settings. In OS X, is it the Java JRE application that needs to accept incoming connections? Thanks.
Yes, it is the Java executable. On Windows, the servers show up as Java.exe
. I assume it’s java
on mac.
Thanks!
~Brad
ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp
E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com