how to open specific port


 
Thread Tools Search this Thread
Operating Systems Solaris how to open specific port
# 1  
Old 02-25-2009
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
# 2  
Old 02-25-2009
netstat -an | grep LISTEN will show ports currently open.

As for how to open/close ports - depends on application you are running if/how you can assign specific port to the application config files.
# 3  
Old 02-25-2009
Dear PMM:-
My problem is be sure that the port number 53 is opening cause
When I try to access the internet I have the following :-
# ping 4.2.2.2
4.2.2.2 is alive
# ping Yahoo!
Ping: unknown host ww.yahoo.com
So when I put the Yahoo! at the browser it can’t be open
When I use this command
# dig Yahoo!
I got the real IP for yahoo home page when and put it in the browser the browser the yahoo home page is open but when i try to open any link it can't be open
After I check with my ISP cause no body from his customer service can be support UNIX system one of them say to me please check port 53 if open to retrieve DNS service or not cause my problem in DNS
Your feedback is highly appreciated
# 4  
Old 02-26-2009
It looks like you don't have a DNS server setup - you need to access this server on port 53, you don't need to run port 53 on your client.

Try running
Quote:
nslookup www.unix.com
- my output is below:

Code:
$ nslookup www.unix.com
Server:         10.226.1.1
Address:        10.226.1.1#53

Non-authoritative answer:
Name:   www.unix.comAddress: 81.17.242.186

Check /etc/resolv.conf where it sets up DNS
# 5  
Old 02-26-2009
Check whether your /etc/nsswitch.conf has a "hosts: files dns" entry. Without this your machine will not perform DNS lookups for hostnames. Look in /etc/nsswitch.dns file for sample "hosts" entry.
# 6  
Old 02-26-2009
all right and we used the cross over cable to ping the machine but did not work..
# 7  
Old 02-26-2009
try unplumbing and re-plumbing you network interface(s). also, if you change the nsswitch.conf file, restart nscd via svcadm.
Login or Register to Ask a Question

Previous Thread | Next Thread

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 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. ... (6 Replies)
Discussion started by: naw_deepak
6 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
Login or Register to Ask a Question

Featured Tech Videos