Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have on my home Windows box - Cassini server with localhost:10000. And I want it be accessible in internet by my static IP.

Tried netcat, "nc -l -p 10001 localhost 10000". But it results in "invalid connection to [IP] from [IP] 16074"

Also before that it was working on Opera Unite properly, but now only writes a message: "An error occured. See error log for details". I dont know where to get that log.

share|improve this question

nc -l -p 10001 localhost 10000

Every machine in the world thinks that it is named "localhost". That command won't work when you're not on the machine running the server on port 10000.

To access it from other LAN machines you need to replace localhost with the server's internal IP address. To access it from outside your LAN (outside the firewall) you'll need to configure your firewall with a rule for that port to forward it to the internal server IP. Then you'll access it by replacing localhost with the firewall's external IP address.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.