1752795 Members
5737 Online
108789 Solutions
New Discussion юеВ

Reuse of TCPIP port?

 
SOLVED
Go to solution
Willem Grooters
Honored Contributor

Reuse of TCPIP port?

VMS 7.3-1, TCPIP 5.3 No ECO's

Define a TCPIP service:

* TCPIP SET SERVICE /PORT=12345 ...
* TCPIP ENABLE SERVICE

Use this...
Then remove it, and resue the port for another service:

* TCPIP ENABLE NOSERVICE
* TCPIP SET NOSERVICE /PORT=12345 ...
* TCPIP SET SERVICE /PORT=12345 ...
* TCPIP ENABLE SERVICE

So far so good: no errors, but it doesn't work as expected. I found that:

* TCPIP SHOW SERVICE/PORT=12345/FULL

still gives me all data (name, file, user...) of the previous definition!

is this a bug, a(n undocumented) feature, or is my percepton just wrong?
Willem Grooters
OpenVMS Developer & System Manager
3 REPLIES 3
Joseph Huber_1
Honored Contributor
Solution

Re: Reuse of TCPIP port?

I think the ENABLE NOSERVICE is wrong:

>TCPIP ENABLE NOSERVICE test1
>%CLI-W-NOTNEG, qualifier or keyword not negatable - remove "NO" or omit

So name1 was not removed, You ignored the messages ?
You have to DISABLE SERVICE , then SET NOSERVICE.
On my system (VMS 7.3-1,TCPIP 5.3, although with actual patch-level) then does it as expected.
http://www.mpp.mpg.de/~huber
Ian Miller.
Honored Contributor

Re: Reuse of TCPIP port?

I thought the syntax was
TCPIP DISABLE SEVICE
TCPIP SET NOSERVICE
i.e. no qualifiers.
____________________
Purely Personal Opinion
Wim Van den Wyngaert
Honored Contributor

Re: Reuse of TCPIP port?

Tested it (with correct syntax) on 7.3 with tcp 5.3 eco 2 : no problem.

Wim
Wim