Midrange News for the IBM i Community


Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Chicagoland
Add Entry to IBM i (AS/400 iSeries) HOSTS File
has no ratings.
Published: 12 Sep 2011
Revised: 28 Apr 2016 - 958 days ago
Last viewed on: 12 Dec 2018 (23397 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Add TCP/IP Host Table Entry (ADDTCPHTE) Published by: Bob Cozzi on 12 Sep 2011 view comments(2)

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: Viking
Premium member *
CA
Comment on: Add Entry to IBM i (AS/400 iSeries) HOSTS File
Posted: 2 years 7 months 23 days 21 hours 48 minutes ago

Note:  If you are trying to add a host name to the host table using the ADDTCPHTE command and you already have previously existing host entries for that TCPIP address, use CHGTCPHTE command to add additional host names to the existing entry.

Posted by: clbirk
Premium member *
Comment on: Add Entry to IBM i (AS/400 iSeries) HOSTS File
Posted: 2 years 7 months 16 days 4 hours 11 minutes ago

far easier to use the graphical inav which you get under network tcp/ip configurations. It is available both in the windows based and the navigator for i (port 2001) version.

 

In addition to "internal devices", lets say you have to communicate with a new website that the public dns has not yet rolled to it, that is say you need to do a webservice with  www.xyz.com and currently that is at 111.111.111.111 but the one you need to test is at 222.222.222.222 you can set up an entry in the hosts file that www.xyz.com points to 222.222.222.222 and that is where the i will go look for it.

chris