port 8000 (http://[::]:8000/) …
what i get in my browser is :- This site can’t be reached
The webpage at http://[::]:8000/ might be temporarily down or it may have moved permanently to a new web address.
ERR_ADDRESS_INVALID any subjection ???
this my main.js
Moralis.initialize(“YykBOopEziNqEcaJuyISHV3LbXYBfO1O9CMi6dDm”);
Moralis.serverURL = ‘https://uz9jpvslyldb.moralishost.com:2053/server’
init = async () => {
window.web3 = await Moralis.Web3.enable();
initUser();
}
initUser = async () => {
if (await Moralis.User.current()){
hideElement(userConnectButton);
showElement(userProfileButton);
}else{
showElement(userConnectButton);
hideElement(userProfileButton);
}
}
login = async () => {
try {
await Moralis.Web3.authenticate();
initUser();
} catch (error) {
alert(error)
}
}
hideElement = (element) => element.style.display = “none”;
showElement = (element) => element.style.display = “block”;
const userConnectButton = document.getElementById(“btnConnect”);
userConnectButton.onclick = login;
const userProfileButton = document.getElementById(“btnUserInfo”);
init();
this is my index.html
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>inimitable</title>
<div>
<button id="btnConnect">Connect wallet</button>
<button id="btnUserInfo">profile</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
<script src="https://unpkg.com/moralis/dist/moralis.js"></script>
<script src="main.js"></script>