Visit Our UNIX and Linux User Community


how to open a specific port


 
Thread Tools Search this Thread
Operating Systems Solaris how to open a specific port
# 1  
Old 08-21-2009
how to open a specific port

Hi All,

Can anyone let me know that how to open a specific port in Solaris 10. I just wanted to know if there are some certain commands to open a port (like ftp, telnet).

It would be also better if someone can tell me if there is another firewall service in Solaris 10 except ipfilter.

Thanks,
Deepak
# 2  
Old 08-21-2009
A port is open when the service listening on it is enabled.

Ipfilter work well. There might still be commercial firewalls available like CheckPoint.
# 3  
Old 08-21-2009
If you want to open your own port using your own program, read about TCP/IP api and create your own daemon.

If you just want an application to listen on a port you can configure Inetd to listen on specific port for you. check /etc/inetd.conf
# 4  
Old 08-21-2009
To test a port try telnet or ping
example test port 25:
Code:
ping -p 25 [address]
telnet [address] 25

# 5  
Old 08-21-2009
I'm afraid the "ping -p" suggestion won't work as ping isn't designed to probe ports.
The -p option is about UDP port, not TCP ones.
This option is ignored unless the "-U" option is set.
Ping will report the remote host to be alive regardless of the UDP port being open or not anyway.
# 6  
Old 08-22-2009
Yes, I agree.
When any service is enabled, the service starts listening on it's specified port untill there is no firewall turned on. But when the firewall is turned on, how to open a port of any service so that the request regarding that could be listen.

Thanks,
Deepak
# 7  
Old 08-22-2009
Turn off the firewall or at least re-enable that port on the firewall rules.

Previous Thread | Next Thread
Test Your Knowledge in Computers #83
Difficulty: Easy
BSD, Linux, Mac OS X, and other Unix-like operating systems did not inherit aspects of the original Unix design.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 10: How to just open a port - nothing else

Hi there, I tried just open a port but I failed ;-( # telnet localhost 9876 That should work so I did ... # vi /etc/services myport 9876/tcp # my port # svcadm restart inetd -> New pid, see ps - ef | grep inet # netstat -an | grep 9876 No port 9876 is waiting ;( #... (4 Replies)
Discussion started by: System
4 Replies

2. HP-UX

How to open 443 port in HP-UX?

Hello Experts, I want to open the port 443 on my HP-UX system. can you please help ? Thanks in advance. (1 Reply)
Discussion started by: purushottamaher
1 Replies

3. IP Networking

Tcp ip port open but no such process (merged: Release A Port)

i want to kill a tcp connection by killing its pid with netstat -an i got the tcp ip connection on port 5914 but when i type ps -a or ps-e there is not such process running on port 5914 is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies

4. UNIX for Advanced & Expert Users

how to open port in linux

hi experts, I'm using Linux Centos kernel 2.6 Here is the print out of some my port : tcp 0 0 127.0.0.1:10080 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:10081 0.0.0.0:* LISTEN tcp 0 0... (4 Replies)
Discussion started by: justbow
4 Replies

5. Solaris

Open port on Solaris 10

Hi All, I am installing Infosphere (ETL tool) on solaris 10. One of the requirement is to open multiple ports for different apps that will be installed. I ran netstat -n | grep 9080 (,etc) but that did not return anything. I have attached the requirement. Can anyone guide me about how to... (3 Replies)
Discussion started by: sumeet
3 Replies

6. Solaris

how to open specific port

Dear members, My release is open Solaris b103 1- How to know the opening port in my system 2- How to open a specific port like port number 53 3- How to closed the specific port like port number 53 Your feedback highly appreciated (10 Replies)
Discussion started by: dellroxy
10 Replies

7. IP Networking

Unknown open port: "6881/tcp open bittorrent-tracker" found with nmap

Hi. I ran nmap on my server, and I get the following: Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-19 16:33 EDT Interesting ports on -------- (-----): Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http 6881/tcp open bittorrent-tracker The... (0 Replies)
Discussion started by: Rledley
0 Replies

8. AIX

How to open a port in AIX

Hi Guys, i am trying to open a port in AIX. but i am not able to get the command for this. AIX is not having the iptables file present. So please any body can tell me how to open a port in AIX... Thanks sanju (2 Replies)
Discussion started by: sanju_d1231
2 Replies

9. Linux

open port

How can I open a port on linux machine ??? (5 Replies)
Discussion started by: mm00123
5 Replies

Featured Tech Videos