Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > how do I open a TCP port

how do I open a TCP port
Thread Tools
tkmd
Grizzled Veteran
Join Date: Oct 2001
Location: Michigan
Status: Offline
Reply With Quote
Nov 3, 2004, 06:25 PM
 
I would like to open a number of ports on my PB Lets say from 6500-7000. How do I do this with out turning off my wireless router?

Sys Pref?
some program?
Sorry for the noob question.
Pismo 400 | Powerbook 1.5 GHz | MacPro 2.66/6GB/7300GT
     
tkmd  (op)
Grizzled Veteran
Join Date: Oct 2001
Location: Michigan
Status: Offline
Reply With Quote
Nov 3, 2004, 06:36 PM
 
Sorry I think I just figured out - no firewall no restriction on the ports being open. So I guess they are open by default
Pismo 400 | Powerbook 1.5 GHz | MacPro 2.66/6GB/7300GT
     
philzilla
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Nov 3, 2004, 06:48 PM
 
shouldn't this be in the Bit Torrent forum?
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
tkmd  (op)
Grizzled Veteran
Join Date: Oct 2001
Location: Michigan
Status: Offline
Reply With Quote
Nov 3, 2004, 06:57 PM
 
Grrr - you got me. My question stems from the fact that I am trying to configure my base station. I would to enable "port forwarding" but I am required to supply an "outbound port " WTF?

any help?
Pismo 400 | Powerbook 1.5 GHz | MacPro 2.66/6GB/7300GT
     
jamil5454
Mac Elite
Join Date: Oct 2004
Location: Downtown Austin, TX
Status: Offline
Reply With Quote
Nov 3, 2004, 07:44 PM
 
Are you trying to open these to allow access from the internet, or are you trying to open them just for fun? If so, a simple Java loop can do that:

for(int i=6500; i<=7000; i++){
ServerSocket sSock;
try{
sSock=new ServerSocket(i);
catch (IOException e){
System.out.println(e);
}
}
}
sSock.close();
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:38 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,