this is java console log:
-
svloyso
- Posts: 9
- Joined: Tue Feb 18, 2014 12:04 pm
Could not connect to server
My haven and hearth client says "could not connect to server" even if server is up.
this is java console log:
I tried turn off my windows firewall, but it doesn't help.
this is java console log:
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Could not connect to server
check with regedit whether there is aWARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5
Code: Select all
PrefsCode: Select all
HKEY_CURRENT_USER\Software\JavaSoft\Right click on the JavaSoft folder and click on New -> Key
Name the new Key Prefs
Turning of your Firewall is not recommended, better make exceptions in it for ports: TCP 1871 and UDP 1870
In your Router configuration you might set Port Forwarding for these 2 ports
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
-
svloyso
- Posts: 9
- Joined: Tue Feb 18, 2014 12:04 pm
Re: Could not connect to server
Key 'Prefs' is exists, and i created new key 'Key Prefs', but it doesn't help. Error and java console log still same.borka wrote:check with regedit whether there is aWARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5key atCode: Select all
Prefsif not create itCode: Select all
HKEY_CURRENT_USER\Software\JavaSoft\
Right click on the JavaSoft folder and click on New -> Key
Name the new Key Prefs
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Could not connect to server
delete 'Key Prefs' (not needed)
Anyways i think that message is not related to "could not connect to server" as the client has started properly to show that message
check your Java Security settings
https://www.java.com/ru/download/help/java_blocked.xml -> Workaround
and
Anyways i think that message is not related to "could not connect to server" as the client has started properly to show that message
check your Java Security settings
https://www.java.com/ru/download/help/java_blocked.xml -> Workaround
and
Turning of your Firewall is not recommended, better make exceptions in it for ports: TCP 1871 and UDP 1870
In your Router configuration you might set Port Forwarding for these 2 ports
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
-
svloyso
- Posts: 9
- Joined: Tue Feb 18, 2014 12:04 pm
Re: Could not connect to server
I added http://www.havenandhearth.com in exeption list in java security settings, like as it says here https://www.java.com/ru/download/help/java_blocked.xmlborka wrote:delete 'Key Prefs' (not needed)
Anyways i think that message is not related to "could not connect to server" as the client has started properly to show that message
check your Java Security settings
https://www.java.com/ru/download/help/java_blocked.xml -> Workaround
andTurning of your Firewall is not recommended, better make exceptions in it for ports: TCP 1871 and UDP 1870
In your Router configuration you might set Port Forwarding for these 2 ports
I made exeption for ports TCP 1871 and 1870 in my firewall, but i don't know how set port forwarding in my Router.
But it all doesn't help.
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Could not connect to server
Normally you access the Routersettings by calling the routersettingspage in your browser - you should have a manual that explains how to for your router model - or you perform a search in the web "port forwarding + Routermodel"
Did you make an exception for UDP port 1870?
Did you make an exception for UDP port 1870?
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
-
svloyso
- Posts: 9
- Joined: Tue Feb 18, 2014 12:04 pm
Re: Could not connect to server
I found in google, how to make port forwarding, and i did it.borka wrote:Normally you access the Routersettings by calling the routersettingspage in your browser - you should have a manual that explains how to for your router model - or you perform a search in the web "port forwarding + Routermodel"
Did you make an exception for UDP port 1870?
Yes, i made exception for UDP port 1870.
It still not work.
Java log and error still same.
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Could not connect to server
try with a custom client like Ender: https://github.com/EnderWiggin/haven-updater/releases (Top one)
you need to create a run.bat examples:
viewtopic.php?f=27&t=35224
viewtopic.php?f=27&t=14575#p165075To install client you need to download updater.
Download it and put into some folder. Then run this file - it will download client and all require files to that folder.
you need to create a run.bat examples:
viewtopic.php?f=27&t=35224
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
-
svloyso
- Posts: 9
- Joined: Tue Feb 18, 2014 12:04 pm
Re: Could not connect to server
Doesn't help too.borka wrote:try with a custom client like Ender: https://github.com/EnderWiggin/haven-updater/releases (Top one)viewtopic.php?f=27&t=14575#p165075To install client you need to download updater.
Download it and put into some folder. Then run this file - it will download client and all require files to that folder.
you need to create a run.bat examples:
viewtopic.php?f=27&t=35224
I downloaded updater.jar, run it, made launcher.bat with command
Code: Select all
"C:\Program Files\Java\jre7\bin\java.exe" -Xms256m -Xmx512m -jar haven.jar moltke.seatribe.se -r "C:\MyDocs\apps\Haven and hearth"-
Lord_of_War
- Posts: 1668
- Joined: Wed Jul 17, 2013 2:53 am
- Location: A long time ago in a land far away
Re: Could not connect to server
And your ports are open? I remember there being 2 borka.
One death is a tragedy; one million is a statistic. -- Joseph Stalin #1 Forum troll You mad bro?
"My soul is terrifying" "Some men just want to watch the world burn"
http://www.youtube.com/watch?v=5f2M9t_tEhQ
"My soul is terrifying" "Some men just want to watch the world burn"
http://www.youtube.com/watch?v=5f2M9t_tEhQ