e5df How to open a tcp/udp port on FreeBSD 9? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Networking

Networking Network related discussions (including general TCP/IP stuff, routing, etc).

Reply
 
Thread Tools Display Modes
  #1  
Old September 17th, 2012, 08:20
lucky7456969 lucky7456969 is offline
Junior Member
 
Join Date: Sep 2012
Posts: 34
Thanks: 8
Thanked 1 Time in 1 Post
Default How to open a tcp/udp port on FreeBSD 9?

As Title, many thanks
Jack
Reply With Quote
  #2  
Old September 17th, 2012, 09:19
kpa kpa is online now
Giant Locked
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 2,015
Thanks: 44
Thanked 467 Times in 397 Posts
Default

Everything is open by default if you don't have a firewall configured. If you want to know how to configure a firewall to allow access you need to give us more details of your set up.
Reply With Quote
  #3  
Old September 17th, 2012, 09:20
mamalos mamalos is offline
Member
 
Join Date: Mar 2009
Location: Greece
Posts: 427
Thanks: 25
Thanked 43 Times in 42 Posts
Default

Unless you mean something else, like how to listen to a tcp/udp port, which is a totally different story...
Reply With Quote
  #4  
Old September 17th, 2012, 09:29
lucky7456969 lucky7456969 is offline
Junior Member
 
Join Date: Sep 2012
Posts: 34
Thanks: 8
Thanked 1 Time in 1 Post
Default

I have a dosbox application, which runs thru winicap, then I want to test it to connect to my Host-adapter-only network) FreeBSD VM with VMWare Player. When I tested it, it said ,ipport.vbx said, Connection failed. That's the story
Reply With Quote
  #5  
Old September 17th, 2012, 09:41
kpa kpa is online now
Giant Locked
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 2,015
Thanks: 44
Thanked 467 Times in 397 Posts
Default

$ sockstat -l4 will show which services are listening for incoming IPv4 connections on TCP or UDP ports.
Reply With Quote
  #6  
Old September 17th, 2012, 09:50
mamalos mamalos is offline
Member
 
Join Date: Mar 2009
Location: Greece
Posts: 427
Thanks: 25
Thanked 43 Times in 42 Posts
Default

Is your server machine behind a NAT? If so you'll need to port forward requests to its listening port (What is your topology, cause I haven't played VMWare player, so I'm not sure how it routes packets?).
Reply With Quote
  #7  
Old September 17th, 2012, 10:07
lucky7456969 lucky7456969 is offline
Junior Member
 
Join Date: Sep 2012
Posts: 34
Thanks: 8
Thanked 1 Time in 1 Post
Default

Sorry, I made it. It was because I forgot to run the server program
Reply With Quote
  #8  
Old September 17th, 2012, 10:08
lucky7456969 lucky7456969 is offline
Junior Member
 
Join Date: Sep 2012
Posts: 34
Thanks: 8
Thanked 1 Time in 1 Post
Default

My apologies
Reply With Quote
Reply

Thread Tools
Display Modes

Posting 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Limiting open port RST response hurricane_sh Networking 4 March 3rd, 2011 16:26
jail open port smtp (25) folivora Web & Network Services 2 October 18th, 2010 13:41
trigger to open port in firewall eyebone Firewalls 9 June 24th, 2010 19:40
[Solved] First port: make: cannot open Makefile. Ben Porting New Software 11 April 17th, 2010 21:17
Cannot open a port (80) hernysun Web & Network Services 28 July 30th, 2009 13:13


All times are GMT +1. The time now is 21:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0