11-20-2002
You would modify /etc/services. And yes a restart would be needed almost certainly. I'm not familiar with the program that you're using, but I'm never seen a program yet that monitors /etc/services for changes and then dynamically switches ports.
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hello every one.
I work in a LAN with many application server.
Each one use a different port.
What command permit to obtain the number of these port.
thanks (2 Replies)
Discussion started by: hoang
2 Replies
2. Red Hat
If I change my SNMP strings from the default PUBLIC to something else.
Does this take effect right away or do i have to restart snmpd or HUP it or...something...?
this is RHEL 3 AS (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
3. UNIX for Dummies Questions & Answers
Hi expert,
I wanted to know in which port my apache is running in solaris box
thanks
Shaan (1 Reply)
Discussion started by: shaan_dmp
1 Replies
4. UNIX for Dummies Questions & Answers
hi all
i want to connect a system,
how can i know the port number of a system. (2 Replies)
Discussion started by: tukuna82
2 Replies
5. Programming
Hi all,
I need to change the source port number of an outgoing TCP packet. First I have to bind the socket to a particular port(suppose 9001) but when I send the TCP packet I want to change the source port number lets say to 9002 still letting the socket to be bound to the same old port (9001).... (0 Replies)
Discussion started by: anuragrai134
0 Replies
6. Shell Programming and Scripting
I have a txt file as database. when i run my program what it does is it ask me for 3 name and stored in the file as
name1:name2:name3:1
when u enter 3 name it add those in file as above format and add 1 at the end. I what i want is if i enter same names again it changes that 1 to 2 and so... (3 Replies)
Discussion started by: Learnerabc
3 Replies
7. Cybersecurity
Is there a software solution to stop intruders from changing my port addresses?
Causes IPmap to crash.
Platform is OS/X Leopard. (1 Reply)
Discussion started by: aleatory
1 Replies
8. IP Networking
Hi ,
Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies
9. Red Hat
Hi ,
Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies
10. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
LEARN ABOUT NETBSD
services_mkdb
SERVICES_MKDB(8) BSD System Manager's Manual SERVICES_MKDB(8)
NAME
services_mkdb -- generate the services databases
SYNOPSIS
services_mkdb [-qv] [-o database] [-V style] [file]
services_mkdb -u [file]
DESCRIPTION
services_mkdb creates a db(3) database for the specified file. If no file is specified, then /etc/services is used. The database is
installed into /var/db/services.cdb for CDB format and into /var/db/services.db for DB format (see -V). The file must be in the correct for-
mat (see services(5)).
The options are as follows:
-o database
Put the output databases in the named file.
-q Don't warn about duplicate services. This is the default behavior.
-u Print the services file to stdout, omitting duplicate entries and comments.
-V Create a specific version of the database style. style can be cdb to request the CDB format (default) or db to request the DB for-
mat. The DB format is useful for compatibility with old statically linked binaries.
-v Warn about duplicate services.
The databases are used by the C library services routines (see getservent(3)).
services_mkdb exits zero on success, non-zero on failure.
FILES
/var/db/services.db The current services database.
/var/db/services.db.tmp A temporary file.
/etc/services The current services file.
SEE ALSO
db(3), getservent(3), services(5)
BUGS
Because services_mkdb guarantees not to install a partial destination file it must build a temporary file in the same file system and if suc-
cessful use rename(2) to install over the destination file.
If services_mkdb fails it will leave the previous version of the destination file intact.
BSD
May 5, 2010 BSD