That's probably due to the spawn protection radius:
When you create a server all blocks in a certain radius around it are protected and only operators can break/place blocks.
If you want to become operator open the dashboard, and under Server Command type op YOURNAME then click on send, and you should be op.
If you want to lower the protection radius you can go to the dashboard, settings, and set the Spawn Protection radius to another value