what is command for find out the ip add and port no. of the
machine in UNIX?
Answers were Sorted based on User's Feedback
Answer / king
You can get the server address/ip in 2 ways
1. ifconfig -a
2. netstat -in
| Is This Answer Correct ? | 13 Yes | 2 No |
Answer / chand
hi,
YOu can put ipconfig that 'll show ur ip address and
adapter info and DNS,Gateways all the things related to ur
local machine .
If u want more info on this server address u can put
ipconfig /all command so that u can get all the required
info .
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / sujeeth
ifconfig ------- To know the IP Address in Unix Machine
netstat -a ----- To know the all port numbers in Unix
machine
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / udaya
It is ifconfig -a (Unix) guys and not ipconfig (only for
windows)
Port -- netstat -an|grep port
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / satish
netstat -a this will show you all the used ports and free
ports ..by this we can came to know which port is free and
which post is listerning.
to know particular port is used or not just use netstat
followed by port no
| Is This Answer Correct ? | 5 Yes | 2 No |
hi,
hostname -i for ip address
cat /etc/services for which application is running on which
port no.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / syed
it is hostname -i for ip address
and for port it is
netstat -an|grep port "shows the mentioned port is available or busy"
or
netstat -a list out all the ports
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the different groups under web logic security?.
How many messages are sent across the network for processing topic messages? : BEA Weblogic
How many admin consoles possible in a single domain?
Explain the performance tuning in jdbc?
How do I connect to an sql server instance that is running on a machine with multiple instances of sql server 2000? : BEA Weblogic
What is the function of managedconnection.addconnectioneventlistener() in web logic server?
How can I run multiple instances of the same servlet class in the same weblogic server instance? : BEA Weblogic
Which of the recommended practices to be performed in the ejbpassivate() method of a stateful session bean? : BEA Weblogic
What is Domain? how many domains are possible in a single instance?
How can classpath be set?
How does weblogic support corba and client communication via iiop? : BEA Weblogic
Which is the only method defined in the javax.ejb.handle interface? : BEA Weblogic