Port blocked?

Hey, im having a problem with Mac OS server 10.4. Im running a java application that uses a web interface. I can access it fine on localhost:8080 but connecting remotely using its ip:8080 fails to connect. I have specifically added a rule in the firewall settings to allow access from any ip to this port, i even tried turning off the firewall altogether but it still refused my connection. I know the server is working however, because it is hosting a website at a different port. I could add a site in the web services, but it asks for a directory and index.html which isnt really what i want, i just want to allow outside access to that port. Its not running a NAT or anything, so no port forwarding should be involved.

Any ideas? im stumped.

Macbook, Mac OS X (10.4.9)

Posted on Dec 10, 2007 3:10 PM

Reply
6 replies

Dec 10, 2007 6:45 PM in response to Jpmuzi

Can you access it locally by http://ip_address:8080?

The Apache web server thinks "www.example.com:80" and "www.example.com:8080" are two different sites. So you DO need to set up a new site per port number. If you had an SSL enable site, you'd also need a site setup called "www.example.com:443". All three sites can share the same root directory and index.html file. They could even share the same log files, but I'd recommend against it because it's easier to debug when you have separate error.logs.

Dec 12, 2007 3:12 PM in response to RedRhubarb

Its called dcm4chee, http://www.dcm4che.org/ (though the site seems to be down now). On the other mac i didn't have to mess with the network setup at all, i just installed the application and it worked, I'm not using personal web sharing or anything.

Mostly I'm puzzled as to why os x server blocks traffic to the port even after I've added a rule specifically allowing traffic from any ip to use that port.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Port blocked?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.