I am taking a networking course here at school and we are working on servers right now. Right now, we are working on a "web server", and when I compile and run the server, I can't connect to it from Safari (http://127.0.0.1:XXXXX, where XXXXX is the servers port number).
The server we wrote before this worked fine. We had a server we wrote running and then a client we wrote ourselves connecting to that server.
Does OS X have any security built in that prevents a web browser from connecting to a server running on the local machine?
If this isn't clear, let me know.
Thanks.
bloodfist
EDIT - Here is the actual error from Safari
Safari can’t open the page “http://localhost:52198/” because it could not connect to the server “localhost”.
The server we wrote before this worked fine. We had a server we wrote running and then a client we wrote ourselves connecting to that server.
Does OS X have any security built in that prevents a web browser from connecting to a server running on the local machine?
If this isn't clear, let me know.
Thanks.
bloodfist
EDIT - Here is the actual error from Safari
Safari can’t open the page “http://localhost:52198/” because it could not connect to the server “localhost”.