Sty+ct+ap server

Post here if you need help setting up your server, etc.
User avatar
Project Developer & Local Moonshiner
Posts: 8610
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Re: Sty+ct+ap server

Post by Lucifer »

Light wrote: It sounds as if you've pointed your outgoing to the VM rather than incoming. If you want to connect locally, you'll probably have to do both, though depending on the setup of your router, you may only need the incoming connection pointed to it.
Only incoming matters. Outgoing just plain doesn't matter. It works for any protocol, any port, so long as your ISP hasn't disabled anything (which is rare, if it still happens at all). The server's outgoing packets still go through the same port as the incoming packets are received, but they are sent to ports on the client that are picked randomly at runtime. It's not as complicated as it sounds, really. Connections are stored basically as tuples, where they're (IP address, port), and you can send to that port without doing any NAT stuff.

So a client->server connection could be Client(, 45037)->(21.435.12.32, 4534), and the reciprocal server-> connection is obviously: Server(21.435.12.32, 4534)->Client(, 45037)

All that is probably more information than you need, but if it helps to see how the connections are actually connected, there it is.

Receiving, or incoming, that's where the NAT stuff has to be done. That's where the server port has to be routed from the router to the PC, then from the PC to the VM.

Again, outgoing routing doesn't matter even a little bit.

Be the devil's own, Lucifer's my name.
- Iron Maiden

User avatar
Average Program
Posts: 86
Joined: Tue Sep 18, 2007 1:11 am

Re: Sty+ct+ap server

Post by Tannermon11 »

Figured it out. Apparently it was windows firewall that was preventing the vm from connecting to my computer.

Post Reply