|
ok guys so this is my first project as i am just learning to code and im having some problems.
I have the .run and compiler working and when I use the run i get the log in screen, however when i log in it says error connecting to server, again probably an easy fix but idk what to do.
Have your portforwarded? going into router settings via broswer and typing 192.168.1.1 and entering info if needed and have no-ip downloaded and hosting an ip for your server already? but then again that's if you want it online, other wise what he said above is correct, you just need to change all ips to 127.0.0.1 then recompile client and source after both are changed, witch i'm pretty sure 317's it's just client but im unsure.
Base? I assume the most usual..
To change the client's IP-address, open the Client class (.java) located in the the client's source-files.
Search for "server =" -> change the address to your IP-address or localhost (127.0.0.1).
Save, compile.
(Ignore if localhost);
If you still won't be able to connect, check your firewall/anti-virus -settings.
Also, make sure that you have portforwarded.
I did this and still cant connect, I'm so confused right now
edit: im just using the local host as im only using it to help myself learn
Tell us what Client & Source you are using, also did you compile the client after changing to localhost?
yes i did compile it and i am using the project marmaros source
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |