I have installed a Pre-migration server without licenses.

1. Should I add the licenses before or after the migration?

2. I thought I would try to add them before and tried to
access the server using
and get the response "The connection was refused when
attempting to contact <ipaddress>".

How do I install the licenses? Is this normal behavior for a
pre-migration server, or have I done something wrong? Will
everything be just fine after the migration with my current
licenses covering all my users? I am migrating a nw6.5
server to new hardware and OES server.

Thanks in advance for a quick response.