test1514: Used the macros for host and port number