See this issue in the opcua-asyncio repo.
- First, install asyncua using pip (
pip install -U asyncua
). - Then run the server using
python -m server
. - Connect to the server at
opc.tcp://localhost:4840
(e.g. using UaExpert; the server uses no encryption and no authentication)