PDA

View Full Version : How do I open a Port?


Jimbo_Slayer
29-11-2003, 18:30
I installed TS and the server and I can connect to other people servers but cannot start my own. I have read just about this whole forum and the manual and I still don't understand how to open a port.
I have my IP address, and I think I'm supposed to have it look something like 11.111.111.11:1111
If the 1's all represented my numbers, and after the colon the port number would go.
When I log into my server admistration, it says the UDP port is 8767.
I tried combining that with my IP address but it doesn't work.
A lot of places I read things about opening a port, and I haven't the slightest idea of how to do this.
Please help!

Thanks for your time,
Jimbo_Slayer

Dummer Sack
29-11-2003, 18:51
Give us a bit more info about your network config.
How do you connect to the internet? Are you using a router? Are you using a firewall? Do you have multiple computers over the same IP in the internet?
So the server admin works?
Can you connect to your server with the TS client via localhost:8767 (if you start the TS client on the same computer as the server)?

~AL~
29-11-2003, 19:12
yea im havin same prob im using a router with firewall and 1 in the router.


(im also havin the smae prob hostin games)

Dummer Sack
29-11-2003, 19:17
If you use a router you have to set up a port forwarding of port 8767 UDP at the router.

How to do this is router specific and should be described in your router manual. There you may find it under Virtual Server, Open Ports, Port Redirection or Port Trigges (Every vendor has it own name for it).

Also you have to open port 8767 UDP in your firewall configuration. How to do this is also firewall specific and should be described in your firewall manual.

The same is true for games. You have to find out what ports they use (eg. Quake III based games use 27960 UDP by default) and forward them at your router and open them in your firewall.

Jimbo_Slayer
29-11-2003, 23:22
I just bought a router yesterday but haven't installed it yet.
I have two computers on my network, both share the same IP address I believe. My computer connects to the "family" computer, which has the broadband modem connected to a second ethernet card.
I don't understand how to open a port with a router either, so I'll have to read the router manual on that.
I do not have a firewall.

Dummer Sack
30-11-2003, 10:27
If you do not have a firewall or packet filter you only have to forward the port.

You also only have to forward one port. The port you have to forward if the ServerUDPPort. The default for this port is 8767 UDP (Check in the web interface what port you have configured).
The source port af incoming packets is irrelevant for port forwarding.
If you want external access to the web interface you have to forward the port of the web interface also. The default for that port is 14534 TCP. Check your server.ini on wich port you have configured it.

The source port of incoming packtes is irrelevant in the port forwarding.

Before you fiddle with your network config bejond the port forwarding make sure all clients work correct.
Make them all test the local test mode.
Then all join a public server like voice.teamspeak.org and make sure all is working correct there.

In the port forwarding config for most routers you have to specify the protocol wich is UDP, the external port wich is 8767, sometimes the internal port wich also is 8767 and the destination computer IP wich is the LAN IP of your TS server. (Replace 8767 with the ServerUDPPort you configured in the web interface). You will find the port forwarding in your router config under topics like: Virtual Servers or Open Ports or Port Redirection or Port Trigges (Every verdor uses different names fo it). All this is in most cases a subsection of the NAT system.

If you still have problems make sure that your router firmware is the most up to date one. Check at the vendors website for updates. Also search a router forum where they know your router and check if there are known problems with specific firmware versions.

Jimbo_Slayer
30-11-2003, 22:36
All my stuff is currently set to the default of what it came downloaded with.
I know my RC2 Client works because I connect to other people's servers all the time.
I still do not understand everything about ports.
Does it matter what ports I use?
How do I find out what ports my computer is using.
My router is not hooked up yet, so I cannot consult that manual.

Dummer Sack
30-11-2003, 23:10
The default ports the TS server uses are in the FAQ.

But for the lazy ones:

ServerUDPPort=8767 UDP
(This is the port the TS client uses to comunicate with the server)

Web Interface=14534 TCP
(On this port you can reach the web interface)

TCPQueryPort=51234 TCP
(For remote controling the server and for scripts like WebPost)

You don't have to forward the web interface and the TCPQueryPort for normal operation.

As you can see it does matter what ports you forward.
However you can change the ports the TS server uses to any port you want. But this can cause conflicts if the prots are already in use by other programs.
(netstat -a shows all ports in use)
If you don't know what you are doing leave the ports to the default.
You can configure ServerUDPPort in the Web Interface.
You can configure the Web Interface Port and the TCPQueryPort in the server.ini.

Also you should use ports > 1024. Some systems won't allow you to use ports below 1024 in cretain scenarios for security reasons.

EDIT: If you have multiple computer accessing the internet via the same IP, you must use NAT. Either via a router or by a sofware like Micosoft ICS. If you use a software you have to configure the port forwarding there.

MrSmee
05-12-2003, 00:42
Originally posted by Jimbo_Slayer
All my stuff is currently set to the default of what it came downloaded with.
I know my RC2 Client works because I connect to other people's servers all the time.
I still do not understand everything about ports.
Does it matter what ports I use?
How do I find out what ports my computer is using.
My router is not hooked up yet, so I cannot consult that manual.

If you can't host it from your present PC and you still don't have your router up and running I would venture to guess that you are running Windows XP and probably have the XP firewall enabled.

To check it, go to your "Control Panel" then select "Network Connections" then right click on your internet or network connection and select "properties" then click on the "Advanced" tab and disable the XP personal firewall I don't recommend doing this if you havent got a software firewall so make sure you have one installed that is easy to configure Like Norton Internet Securities which will Auto Configure the firewall to allow traffic on all ports for the program.
Smee

Jimbo_Slayer
05-12-2003, 00:43
No I don't have a firewall up, I know how to shut them down, I'm not very smart with setting up TS but I'm actually fairly internet smart.

MrSmee
05-12-2003, 00:45
Originally posted by Jimbo_Slayer
No I don't have a firewall up, I know how to shut them down, I'm not very smart with setting up TS but I'm actually fairly internet smart.

What error does it give you when you try to connect ?.

Jimbo_Slayer
05-12-2003, 00:46
It says the server is down or maybe TS is not running on it.

MrSmee
05-12-2003, 00:48
bump

MrSmee
05-12-2003, 00:53
Originally posted by Jimbo_Slayer
It says the server is down or maybe TS is not running on it.

Have you tried uninstalling it and reinstalling it ?.

Jimbo_Slayer
05-12-2003, 21:11
Yea I have done that a few times and I have the latest version and all that as well.

MrSmee
05-12-2003, 22:20
Originally posted by Jimbo_Slayer

I have two computers on my network, both share the same IP address I believe. My computer connects to the "family" computer, which has the broadband modem connected to a second ethernet card.


This is the problem....if your computer is the 2nd PC on this network then you have to install the TS server on the family PC...the family PC is assigning an IP to your PC.

No 2 PC's can have the same IP on a network because they each have there own MAC address on the network cards.

The TS 2 server is running on the assigned IP to your PC and not that of the IP of your ISP the family PC has that one, you have to put the TS2 server on the Family PC because its the "Shared Internet Access" for your PC.

Once its installed on the family PC you can join it by using the ip adssigned to the family PC by the ISP.
Smee

Jimbo_Slayer
07-12-2003, 18:30
Ok I just got a router and now everything should work.
Should I just enter my IP and the port number or something?

Dummer Sack
08-12-2003, 15:29
Yes.
But make sure the you use the LAN IP of the computer that runs the TS server and not the external IP.

MrSmee
08-12-2003, 21:48
Originally posted by Jimbo_Slayer
Ok I just got a router and now everything should work.
Should I just enter my IP and the port number or something?

What type of router do you have ?.
Smee

Jimbo_Slayer
08-12-2003, 22:18
I have a Belkin.
Basically, I got it working to the point where I can connect to my own server, but nobody else can.
Anyone have a fix for that?

MrSmee
09-12-2003, 12:59
Originally posted by Jimbo_Slayer
I have a Belkin.
Basically, I got it working to the point where I can connect to my own server, but nobody else can.
Anyone have a fix for that?

You still have to forward the ports to the IP of your PC.

I have a Linksys router ...I open my IE then type in 192.168.1.1 into the address bar then type in my username and password (the default username and password is usually admin and then it gives you a whole bunch of user options...check your manual , it will tell you how to access your router.

There will be a forwarding tab which you can put in port numbers that tell the router which pc to forward incoming calls for those specific ports.
Smee

Jimbo_Slayer
09-12-2003, 21:45
Got it working.
I have to test if I can do it with my routers firewall on, because I placed my computer in the DMZ, and that means outside the firewall.
But anyway it works now, thanks a lot for all the help guys!

MrSmee
11-12-2003, 14:22
Originally posted by Jimbo_Slayer

I have to test if I can do it with my routers firewall on, because I placed my computer in the DMZ, and that means outside the firewall.


That's what "Port or IP Forwarding" is...you dont have to have the PC in the DMZ. The DMZ exposes all ports of the PC to the internet, where port forwarding exposes only the port(s) that the program requires through the firewall.
Smee

Jimbo_Slayer
11-12-2003, 21:07
Yes, but I'm also worried if I will be able to serve my game, (delta force black hawk down) when in the firewall.

MrSmee
11-12-2003, 21:47
Originally posted by Jimbo_Slayer
Yes, but I'm also worried if I will be able to serve my game, (delta force black hawk down) when in the firewall.

All you have to do is either contac Nova Logic's tech support and ask them what the required TCP and UDP ports that have to be opened on your router for BHD and they will tell you, or look in the BHD root folder for a readme file and it should be under "Networking".
Smee

LiTeHT
11-12-2003, 23:19
is the server/client udp or tcp???

MrSmee
12-12-2003, 18:31
Originally posted by LiTeHT
is the server/client udp or tcp???

The default UDP port for the TS server is 8767 and if you use webadmin services the TCP port is 14534 - 51234 , client doesn't matter, thats why you were able to join other servers before you installed your router but when someone needs to join the server the router has to allow incoming communication and therefore that is why you can join as a client to a server but if the incoming port(s) are closed or unavailable then you cannot host.
Smee

Dummer Sack
12-12-2003, 18:35
Not 14534 - 51234. :)

Only 14534 and 51234 is enough. (Though the TCPQueryPort 51234 is normaly not needed and can be, though unlikely, a security risc. So only open it if you knaow that you need it).

Dbestz
19-12-2003, 13:13
PLEASE some one help me here!!!!

Let me start by explaining how my net work is set up

OK!!!!!!

I have 3 pc's on my net work all running Os/ME

1st The Host Pc which is connected directly to the Cable modem via USB. host which inturn connects to the the Network Hub via Ethernet card so there should not be no network interfearance there (i think)

From the Hub comes my othere 2 slave Pc's

There is no firewall active.

Ts config

I have TS server running from my HOST pc All my networked PC are able to connect to the channels but any one from out side are unable to connect. Say the regular thing this TS maybe off line etc !!!

When i check on the icon in the right hand side courner of the screen for ips it gives me 2 ip's my network ip and internet ip

81.106.167.118
and 192.168.0.1

i cant connect to TS using the network ip(192.168.0.1) i have tried
it will only let me connect through the 81.106.167.118 ip which is what i wanted to find out.

im not to sure why my host pc lets my networked pc's in but will not let any one else in to channels. i have tried to get a friend to access the admin channel and still not luck there eithere

any ideas please.

How do i open my UDP ports?

one thing please speak dippy language in a bit dence when it comes to TS server hosting

thanks

:D

guldi
19-12-2003, 14:36
ähm did I understand you right:

Your Cablemodem ist connected vai USB to your Host PC, PC1.
The ethernet port of your modem is connected to a hub on which your two other PC's are connected ? That's it ?


Can you ping the PC1 from one of the other two PC's with the LAN IP ?

Dbestz
19-12-2003, 15:04
cable modem is linked to Host PC via USB (not linked to Hub at all)

Host Pc is the linked to Hub (with ethernet) were it allows my other 2 slave Pc's to access internet via ethernet and back through USB.

Dbestz
19-12-2003, 15:09
My setup is like this.

Internet comes through cable modem in to my HOST pc via USB.

Host pc then connects to Hub (not cable modem with ethernet card) were the othere 2 slave pc's are linked to

they get acces to the internet via ethernet to host then through USB of host to cable.



:rolleyes:

Jimbo_Slayer
19-12-2003, 20:52
I would recommend removing your INternet IP from your post, with that you can be hacked instantly, escpecially without a firewall.

Dummer Sack
19-12-2003, 21:14
So you use Microsoft Internet Connection Sharing or a similar software on the host pc. Then you have to set up a port forwarding to your TS server. Port to forward is 8767 UDP.

How to do this depends on the software you use.

Dbestz
19-12-2003, 21:23
yes im using microsoft cannection software.

i know this is a silly question how do i forward a port or open a port??
thanks

Dummer Sack
19-12-2003, 22:14
I don't know how to do it with ME.

Maybe this thread (http://www.teamspeak.org/forums/showthread.php?s=&threadid=8050) helps.

Dbestz
20-12-2003, 17:36
i know this may be a simple question for you but how do i forward a port ??