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.
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.
i cannot access it even locally by ipaddress:8080, just localhost:8080. Also, i dont really want to set up the website, the application is supposed to do that so that you can just connect to the port and a folder name. It works fine on our mac that doesnt have server.
I don't understand how your Java app works through a web interface. Does it send HTTP requests? If so, Apache is going to answer it unless another daemon or service is listening for requests on port 8080.
On the mac you have this running without the "Server" package, do you run it using Personal Web Sharing?
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.