If you can please answer @jane-e's question, we can give you a specific answer for the application you are using.
If you are using windows, the most frequent problem that stops AI in Adobe apps from working is the Windows firewall blocking traffic. If you are using windows, try resetting the firewall to the default configuration.